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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-14 17:00:36 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-14 17:04:17 +0300
commit4e4866f2559262b3c858de15890eb864f18eeca8 (patch)
tree6a55206eeb83fcd815ffe995f5646f260c2c01fd /spec/support
parentbacad39ef984b99520f8d2a7921acd5c8bdab1ef (diff)
Refactor pre/post receive commit services into one class
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/test_env.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/test_env.rb b/spec/support/test_env.rb
index 3a678db2dfd..3eab74ba986 100644
--- a/spec/support/test_env.rb
+++ b/spec/support/test_env.rb
@@ -58,7 +58,7 @@ module TestEnv
end
def disable_pre_receive
- allow_any_instance_of(PreCommitService).to receive(:execute).and_return(true)
+ allow_any_instance_of(Gitlab::Git::Hook).to receive(:trigger).and_return(true)
end
# Clean /tmp/tests