Commit 3aa0c54

mo khan <mo@mokhan.ca>
2015-04-12 02:29:06
increase timeout.
1 parent 90b1e11
Changed files (1)
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