mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 01:11:23 +00:00
Increase Capybara timeout
This commit is contained in:
parent
a534f8acda
commit
8edceab25c
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