diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2018-06-08 14:31:07 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2018-06-08 14:31:07 +0200 |
commit | 0671df61ea046f7ca58b938d0f2b29448185a949 (patch) | |
tree | 8d844ea60351ba7412a56a9b5cff8c32add09c77 | |
parent | c937cf485a465f0a77ca8b1eee4c16541da2c9b1 (diff) | |
download | gitlab-ce-0671df61ea046f7ca58b938d0f2b29448185a949.tar.gz |
No need to stub Git::Hook
-rw-r--r-- | spec/spec_helper.rb | 3 |
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 |