@@ -5,11 +5,11 @@ require 'capybara-select2' |
||
5 | 5 |
require 'helpers/capybara_poltergeist_screenshot' |
6 | 6 |
|
7 | 7 |
Capybara.register_driver :poltergeist do |app| |
8 |
- Capybara::Poltergeist::Driver.new(app, timeout: 2) |
|
8 |
+ Capybara::Poltergeist::Driver.new(app, timeout: 5) |
|
9 | 9 |
end |
10 | 10 |
|
11 | 11 |
Capybara.javascript_driver = :poltergeist |
12 |
-Capybara.default_max_wait_time = 2 |
|
12 |
+Capybara.default_max_wait_time = 5 |
|
13 | 13 |
|
14 | 14 |
RSpec.configure do |config| |
15 | 15 |
config.include Warden::Test::Helpers |