Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-03-30 17:30:05 +0300
committerRémy Coutable <remy@rymai.me>2017-03-31 12:43:17 +0300
commitf659c406ab90b6ce45138fec5e7756c7740f8e2d (patch)
tree5db8625127a28a8329605adf3b8339a9b6a98c5d /spec/support/capybara.rb
parente559283cc0fe3f05ee57e060c44e307e8f721b67 (diff)
Eager-load the Capybara server to prevent timeouts
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/support/capybara.rb')
-rw-r--r--spec/support/capybara.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb
index cebc972be7e..d4e38eb2a51 100644
--- a/spec/support/capybara.rb
+++ b/spec/support/capybara.rb
@@ -27,6 +27,6 @@ Capybara::Screenshot.prune_strategy = :keep_last_run
RSpec.configure do |config|
config.before(:suite) do
- TestEnv.warm_asset_cache unless ENV['CI'] || ENV['CI_SERVER']
+ TestEnv.eager_load_driver_server
end
end