summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-06-08 14:31:07 +0200
committerJacob Vosmaer <jacob@gitlab.com>2018-06-08 14:31:07 +0200
commit0671df61ea046f7ca58b938d0f2b29448185a949 (patch)
tree8d844ea60351ba7412a56a9b5cff8c32add09c77
parentc937cf485a465f0a77ca8b1eee4c16541da2c9b1 (diff)
downloadgitlab-ce-0671df61ea046f7ca58b938d0f2b29448185a949.tar.gz
No need to stub Git::Hook
-rw-r--r--spec/spec_helper.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 83135366eff..8417b340de5 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -107,9 +107,6 @@ RSpec.configure do |config|
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])
-
# Enable all features by default for testing
allow(Feature).to receive(:enabled?) { true }
end