diff options
Diffstat (limited to 'spec/services/ci/destroy_pipeline_service_spec.rb')
-rw-r--r-- | spec/services/ci/destroy_pipeline_service_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/services/ci/destroy_pipeline_service_spec.rb b/spec/services/ci/destroy_pipeline_service_spec.rb index 588ff0b1762..6c1c02b2875 100644 --- a/spec/services/ci/destroy_pipeline_service_spec.rb +++ b/spec/services/ci/destroy_pipeline_service_spec.rb @@ -78,18 +78,6 @@ RSpec.describe ::Ci::DestroyPipelineService do subject end - - context 'when cancel_pipelines_prior_to_destroy is disabled' do - before do - stub_feature_flags(cancel_pipelines_prior_to_destroy: false) - end - - it "doesn't cancel the pipeline" do - expect(pipeline).not_to receive(:cancel_running) - - subject - end - end end end |