mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 13:31:06 +00:00
Increase Capybara timeout
This commit is contained in:
parent
756398bff9
commit
c9bda3870a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue