Fix travis failed randomly by timeout.
This commit is contained in:
parent
e00e54b69c
commit
fc66c18349
1 changed files with 1 additions and 1 deletions
|
@ -28,8 +28,8 @@ require 'capybara/poltergeist'
|
||||||
Capybara.javascript_driver = :poltergeist
|
Capybara.javascript_driver = :poltergeist
|
||||||
Spinach.hooks.on_tag("javascript") do
|
Spinach.hooks.on_tag("javascript") do
|
||||||
::Capybara.current_driver = ::Capybara.javascript_driver
|
::Capybara.current_driver = ::Capybara.javascript_driver
|
||||||
::Capybara.default_wait_time = 5
|
|
||||||
end
|
end
|
||||||
|
Capybara.default_wait_time = 10
|
||||||
|
|
||||||
|
|
||||||
DatabaseCleaner.strategy = :truncation
|
DatabaseCleaner.strategy = :truncation
|
||||||
|
|
Loading…
Reference in a new issue