summaryrefslogtreecommitdiff
path: root/spec/support/helpers/test_env.rb
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2018-09-03 17:20:57 -0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2018-09-12 12:32:32 -0300
commitd3c5b07962127be3b29e4602eef51abcb4c2c7b8 (patch)
tree529788aa536ca73777a939483717eba73a9be2ea /spec/support/helpers/test_env.rb
parenta2be6536e9cd92f1fb3d842020136ca165fe9748 (diff)
downloadgitlab-ce-d3c5b07962127be3b29e4602eef51abcb4c2c7b8.tar.gz
Remove Rugged and shell code from Gitlab::Git
Diffstat (limited to 'spec/support/helpers/test_env.rb')
-rw-r--r--spec/support/helpers/test_env.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/support/helpers/test_env.rb b/spec/support/helpers/test_env.rb
index 3f8e3ae5190..8e8ec574edb 100644
--- a/spec/support/helpers/test_env.rb
+++ b/spec/support/helpers/test_env.rb
@@ -107,10 +107,6 @@ module TestEnv
.and_call_original
end
- def disable_pre_receive
- allow_any_instance_of(Gitlab::Git::Hook).to receive(:trigger).and_return([true, nil])
- end
-
# Clean /tmp/tests
#
# Keeps gitlab-shell and gitlab-test