diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-04-25 21:37:11 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-04-26 04:33:16 +0300 |
commit | 3875930793bf4e0274aabc4db7e3a31259d7297b (patch) | |
tree | 36ba8dca89dae5c9c9746937c256760156458aac /features/support/capybara.rb | |
parent | 86edfce4422038fae9c94b8ed39579079fb3adba (diff) |
Enable js_errors for Capybara in Spinach and RSpec
Diffstat (limited to 'features/support/capybara.rb')
-rw-r--r-- | features/support/capybara.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/support/capybara.rb b/features/support/capybara.rb index 8c6f4233278..aaec9a6ece7 100644 --- a/features/support/capybara.rb +++ b/features/support/capybara.rb @@ -6,7 +6,7 @@ timeout = (ENV['CI'] || ENV['CI_SERVER']) ? 90 : 10 Capybara.javascript_driver = :poltergeist Capybara.register_driver :poltergeist do |app| - Capybara::Poltergeist::Driver.new(app, js_errors: false, timeout: timeout) + Capybara::Poltergeist::Driver.new(app, js_errors: true, timeout: timeout) end Spinach.hooks.on_tag("javascript") do |