diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-19 13:51:35 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-19 13:51:35 +0200 |
commit | af7860521f7d776e879f2cc0925937b3c7681805 (patch) | |
tree | 81e8e7c74f44379a07507a1cb716c04d7ba5bb31 /features/steps/shared | |
parent | ee890c26552fbeabbd9ffeb55a4bc6e8b007f7bf (diff) | |
download | gitlab-ce-forbid-repository-access.tar.gz |
Fix all specsforbid-repository-access
Diffstat (limited to 'features/steps/shared')
-rw-r--r-- | features/steps/shared/builds.rb | 2 |
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 |