diff options
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 |