summaryrefslogtreecommitdiff
path: root/features/steps/shared/builds.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-10-19 13:51:35 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-10-19 13:51:35 +0200
commitaf7860521f7d776e879f2cc0925937b3c7681805 (patch)
tree81e8e7c74f44379a07507a1cb716c04d7ba5bb31 /features/steps/shared/builds.rb
parentee890c26552fbeabbd9ffeb55a4bc6e8b007f7bf (diff)
downloadgitlab-ce-forbid-repository-access.tar.gz
Diffstat (limited to 'features/steps/shared/builds.rb')
-rw-r--r--features/steps/shared/builds.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/features/steps/shared/builds.rb b/features/steps/shared/builds.rb
index 70e6d4836b2..13bf18a8b01 100644
--- a/features/steps/shared/builds.rb
+++ b/features/steps/shared/builds.rb
@@ -15,10 +15,12 @@ module SharedBuilds
end
step 'recent build is successful' do
+ allow(PipelineHooksWorker).to receive(:perform_async).and_return(true)
@build.success
end
step 'recent build failed' do
+ allow(PipelineHooksWorker).to receive(:perform_async).and_return(true)
@build.drop
end