Commit 3aa0c54
Changed files (1)
spec
spec/rails_helper.rb
@@ -27,7 +27,7 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
# If you are not using ActiveRecord, you can remove this line.
ActiveRecord::Migration.maintain_test_schema!
Capybara.register_driver :poltergeist do |app|
- Capybara::Poltergeist::Driver.new(app, { debug: true, js_errors: true })
+ Capybara::Poltergeist::Driver.new(app, { debug: true, js_errors: true, timeout: 60 })
end
Capybara.javascript_driver = :poltergeist