diff options
Diffstat (limited to 'spec/workers/build_finished_worker_spec.rb')
-rw-r--r-- | spec/workers/build_finished_worker_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/workers/build_finished_worker_spec.rb b/spec/workers/build_finished_worker_spec.rb index b4b986662d2..2ff173c1558 100644 --- a/spec/workers/build_finished_worker_spec.rb +++ b/spec/workers/build_finished_worker_spec.rb @@ -12,7 +12,6 @@ RSpec.describe BuildFinishedWorker do let_it_be(:build) { create(:ci_build, :success, pipeline: create(:ci_pipeline)) } before do - stub_feature_flags(ci_build_finished_worker_namespace_changed: build.project) expect(Ci::Build).to receive(:find_by).with({ id: build.id }).and_return(build) end @@ -30,18 +29,6 @@ RSpec.describe BuildFinishedWorker do subject end - context 'with ci_build_finished_worker_namespace_changed feature flag disabled' do - before do - stub_feature_flags(ci_build_finished_worker_namespace_changed: false) - end - - it 'calls deprecated worker' do - expect(ArchiveTraceWorker).to receive(:perform_in) - - subject - end - end - context 'when build is failed' do before do build.update!(status: :failed) |