diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-23 00:12:24 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-23 00:12:24 +0300 |
commit | c4a9ca5ffca17bd874dd77014e9f2d607c94b06c (patch) | |
tree | a4abbf721a24cc0c362d225ca52441124f56c00b /spec/workers | |
parent | a3ffaa242bb3b9b4c95a8223ca800126887e3a82 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/ci/build_finished_worker_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/workers/ci/build_finished_worker_spec.rb b/spec/workers/ci/build_finished_worker_spec.rb index 5ddaabc3938..e8bb3988001 100644 --- a/spec/workers/ci/build_finished_worker_spec.rb +++ b/spec/workers/ci/build_finished_worker_spec.rb @@ -27,19 +27,6 @@ RSpec.describe Ci::BuildFinishedWorker do subject end - context 'when the execute_build_hooks_inline feature flag is disabled' do - before do - stub_feature_flags(execute_build_hooks_inline: false) - end - - it 'uses the BuildHooksWorker' do - expect(build).not_to receive(:execute_hooks) - expect(BuildHooksWorker).to receive(:perform_async).with(build) - - subject - end - end - context 'when build is failed' do before do build.update!(status: :failed) |