diff options
author | Rémy Coutable <remy@rymai.me> | 2017-03-30 16:30:05 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-03-31 11:43:17 +0200 |
commit | f659c406ab90b6ce45138fec5e7756c7740f8e2d (patch) | |
tree | 5db8625127a28a8329605adf3b8339a9b6a98c5d /spec/support/test_env.rb | |
parent | e559283cc0fe3f05ee57e060c44e307e8f721b67 (diff) | |
download | gitlab-ce-f659c406ab90b6ce45138fec5e7756c7740f8e2d.tar.gz |
Eager-load the Capybara server to prevent timeouts
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/support/test_env.rb')
-rw-r--r-- | spec/support/test_env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/test_env.rb b/spec/support/test_env.rb index b63df38187c..6c48be904fc 100644 --- a/spec/support/test_env.rb +++ b/spec/support/test_env.rb @@ -169,7 +169,7 @@ module TestEnv # # Otherwise they'd be created by the first test, often timing out and # causing a transient test failure - def warm_asset_cache + def eager_load_driver_server return unless defined?(Capybara) Capybara.current_session.driver.visit '/' |