Commit fc66c183 authored by Sato Hiroyuki's avatar Sato Hiroyuki

Fix travis failed randomly by timeout.

parent e00e54b6
...@@ -28,8 +28,8 @@ require 'capybara/poltergeist' ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment