mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-15 22:30:53 +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/rspec'
|
||||||
require 'capybara/poltergeist'
|
require 'capybara/poltergeist'
|
||||||
|
|
||||||
|
Capybara.default_wait_time = 30
|
||||||
Capybara.register_driver :poltergeist do |app|
|
Capybara.register_driver :poltergeist do |app|
|
||||||
Capybara::Poltergeist::Driver.new(app,
|
Capybara::Poltergeist::Driver.new(app,
|
||||||
timeout: 15,
|
timeout: 30,
|
||||||
phantomjs_logger: File.open('/dev/null')
|
phantomjs_logger: File.open('/dev/null')
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue