From c9bda3870a3383323381917bfb688c4a8d3094cf Mon Sep 17 00:00:00 2001 From: Luke Barratt Date: Sun, 10 Aug 2014 21:55:44 +0100 Subject: [PATCH] Increase Capybara timeout --- spec/spec_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b52f246..bb757ab 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -10,9 +10,10 @@ require 'rspec/rails' require 'capybara/rspec' require 'capybara/poltergeist' +Capybara.default_wait_time = 30 Capybara.register_driver :poltergeist do |app| Capybara::Poltergeist::Driver.new(app, - timeout: 15, + timeout: 30, phantomjs_logger: File.open('/dev/null') ) end