diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-04-25 14:37:11 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-04-25 21:33:16 -0400 |
commit | 3875930793bf4e0274aabc4db7e3a31259d7297b (patch) | |
tree | 36ba8dca89dae5c9c9746937c256760156458aac /features/support | |
parent | 86edfce4422038fae9c94b8ed39579079fb3adba (diff) | |
download | gitlab-ce-3875930793bf4e0274aabc4db7e3a31259d7297b.tar.gz |
Enable js_errors for Capybara in Spinach and RSpec
Diffstat (limited to 'features/support')
-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 |