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:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-03-29 04:23:45 +0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-04-11 22:00:44 +0300
commitd6cc8feb6ce0a8e39a1bc8830b932155713357da (patch)
treee06ffc7ac8168f1857d9ee92bc8e4bcdc123810e /spec/spec_helper.rb
parent5e1a802b15af4ba991f9ed85a691f1a925cc0edf (diff)
Setup and run a Gitaly server for testing if GitalyClient is enabled
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 4eb5b150af5..a3665795452 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -59,6 +59,10 @@ RSpec.configure do |config|
TestEnv.init
end
+ config.after(:suite) do
+ TestEnv.cleanup
+ end
+
if ENV['CI']
# Retry only on feature specs that use JS
config.around :each, :js do |ex|