Skip to content

Instantly share code, notes, and snippets.

@tomelm
Created September 12, 2013 03:08
Show Gist options
  • Save tomelm/6532670 to your computer and use it in GitHub Desktop.
Save tomelm/6532670 to your computer and use it in GitHub Desktop.
1) Minimum App React.js should load on the main page and render 'Hello World'
Failure/Error: visit root_path
Capybara::Poltergeist::JavascriptError:
One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).
TypeError: 'undefined' is not a function (evaluating 'RegExp.prototype.test.bind(
/^(data|aria)-[a-z_][a-z\d_.\-]*$/
)')
TypeError: 'undefined' is not a function (evaluating 'RegExp.prototype.test.bind(
/^(data|aria)-[a-z_][a-z\d_.\-]*$/
)')
at http://127.0.0.1:15151/assets/react.js:1498
at http://127.0.0.1:15151/assets/react.js:6 in i
at http://127.0.0.1:15151/assets/react.js:6
at http://127.0.0.1:15151/assets/react.js:5483
at http://127.0.0.1:15151/assets/react.js:6 in i
at http://127.0.0.1:15151/assets/react.js:6
at http://127.0.0.1:15151/assets/react.js:2975
at http://127.0.0.1:15151/assets/react.js:6 in i
at http://127.0.0.1:15151/assets/react.js:6
at http://127.0.0.1:15151/assets/react.js:11467
at http://127.0.0.1:15151/assets/react.js:5
at http://127.0.0.1:15151/assets/react.js:11468
TypeError: 'undefined' is not a function (evaluating 'RegExp.prototype.test.bind(
/^(data|aria)-[a-z_][a-z\d_.\-]*$/
)')
TypeError: 'undefined' is not a function (evaluating 'RegExp.prototype.test.bind(
/^(data|aria)-[a-z_][a-z\d_.\-]*$/
)')
at http://127.0.0.1:15151/assets/application.js:1498
at http://127.0.0.1:15151/assets/application.js:6 in i
at http://127.0.0.1:15151/assets/application.js:6
at http://127.0.0.1:15151/assets/application.js:5483
at http://127.0.0.1:15151/assets/application.js:6 in i
at http://127.0.0.1:15151/assets/application.js:6
at http://127.0.0.1:15151/assets/application.js:2975
at http://127.0.0.1:15151/assets/application.js:6 in i
at http://127.0.0.1:15151/assets/application.js:6
at http://127.0.0.1:15151/assets/application.js:11467
at http://127.0.0.1:15151/assets/application.js:5
at http://127.0.0.1:15151/assets/application.js:11468
# ./spec/features/minimums_spec.rb:6:in `block (3 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment