Enables Javascript error validation for poltergeist
This commit is contained in:
parent
ab4730d0a8
commit
6c0daf3c3e
1 changed files with 0 additions and 4 deletions
|
|
@ -62,10 +62,6 @@ RSpec.configure do |config|
|
||||||
end
|
end
|
||||||
|
|
||||||
# poltergeist as a underlying mech for Capybara
|
# poltergeist as a underlying mech for Capybara
|
||||||
Capybara.register_driver :poltergeist do |app|
|
|
||||||
Capybara::Poltergeist::Driver.new(app, js_errors: false)
|
|
||||||
end
|
|
||||||
|
|
||||||
Capybara.javascript_driver = :poltergeist
|
Capybara.javascript_driver = :poltergeist
|
||||||
|
|
||||||
# Includes helpers and connect them to specific types of tests
|
# Includes helpers and connect them to specific types of tests
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue