Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/pipeline_schedule_worker_spec.rb')
-rw-r--r--spec/workers/pipeline_schedule_worker_spec.rb16
1 files changed, 2 insertions, 14 deletions
diff --git a/spec/workers/pipeline_schedule_worker_spec.rb b/spec/workers/pipeline_schedule_worker_spec.rb
index db58dc00338..da6a0254a17 100644
--- a/spec/workers/pipeline_schedule_worker_spec.rb
+++ b/spec/workers/pipeline_schedule_worker_spec.rb
@@ -49,19 +49,7 @@ RSpec.describe PipelineScheduleWorker, :sidekiq_inline, feature_category: :conti
end
end
- shared_examples 'successful scheduling with/without ci_use_run_pipeline_schedule_worker' do
- it_behaves_like 'successful scheduling'
-
- context 'when feature flag ci_use_run_pipeline_schedule_worker is disabled' do
- before do
- stub_feature_flags(ci_use_run_pipeline_schedule_worker: false)
- end
-
- it_behaves_like 'successful scheduling'
- end
- end
-
- it_behaves_like 'successful scheduling with/without ci_use_run_pipeline_schedule_worker'
+ it_behaves_like 'successful scheduling'
context 'when the latest commit contains [ci skip]' do
before do
@@ -70,7 +58,7 @@ RSpec.describe PipelineScheduleWorker, :sidekiq_inline, feature_category: :conti
.and_return('some commit [ci skip]')
end
- it_behaves_like 'successful scheduling with/without ci_use_run_pipeline_schedule_worker'
+ it_behaves_like 'successful scheduling'
end
end