summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-01-12 17:41:37 +0100
committerJacob Vosmaer <jacob@gitlab.com>2018-01-15 12:46:56 +0100
commit4aaf3dae1e1b8c07645095efb6d9028ff49b90bd (patch)
tree5df0b27cee310a47dc67304483c4e53d49062388 /spec/spec_helper.rb
parentcc18608d24bc84fd7e51c256fb24325cb84ea9b5 (diff)
downloadgitlab-ce-4aaf3dae1e1b8c07645095efb6d9028ff49b90bd.tar.gz
Use an at_exit hook to stop test gitalystop-gitaly-atexit
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index f51bb44086b..6186fb92bad 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -97,10 +97,6 @@ RSpec.configure do |config|
TestEnv.init
end
- config.after(:suite) do
- TestEnv.cleanup
- end
-
config.before(:example) do
# Skip pre-receive hook check so we can use the web editor and merge.
allow_any_instance_of(Gitlab::Git::Hook).to receive(:trigger).and_return([true, nil])