Merge pull request #367 from ChrisBr/fix_js_error
Enables poltergeist and fixes js error on dashboard
This commit is contained in:
commit
3e5a089eb1
2 changed files with 5 additions and 5 deletions
|
|
@ -62,10 +62,6 @@ RSpec.configure do |config|
|
|||
end
|
||||
|
||||
# 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
|
||||
|
||||
# Includes helpers and connect them to specific types of tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue