diff options
Diffstat (limited to 'spec/workers/ci/archive_trace_worker_spec.rb')
-rw-r--r-- | spec/workers/ci/archive_trace_worker_spec.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/workers/ci/archive_trace_worker_spec.rb b/spec/workers/ci/archive_trace_worker_spec.rb index 52723ff5823..3ac769aab9e 100644 --- a/spec/workers/ci/archive_trace_worker_spec.rb +++ b/spec/workers/ci/archive_trace_worker_spec.rb @@ -27,23 +27,6 @@ RSpec.describe Ci::ArchiveTraceWorker do subject end - - context 'when sticky_ci_archive_trace_worker is disabled' do - before do - stub_feature_flags(sticky_ci_archive_trace_worker: false) - end - - it 'does not preload associations' do - allow_next_instance_of(Ci::ArchiveTraceService) do |instance| - allow(instance).to receive(:execute) do |job| - expect(job.association(:project)).not_to be_loaded - expect(job.association(:pending_state)).not_to be_loaded - end - end - - subject - end - end end context 'when job is not found' do |