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/lib/gitlab/ci/pipeline/chain/create_spec.rb')
-rw-r--r--spec/lib/gitlab/ci/pipeline/chain/create_spec.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/lib/gitlab/ci/pipeline/chain/create_spec.rb b/spec/lib/gitlab/ci/pipeline/chain/create_spec.rb
index 1d020d3ea79..9057c4e99df 100644
--- a/spec/lib/gitlab/ci/pipeline/chain/create_spec.rb
+++ b/spec/lib/gitlab/ci/pipeline/chain/create_spec.rb
@@ -106,21 +106,5 @@ RSpec.describe Gitlab::Ci::Pipeline::Chain::Create do
expect(job.reload.tag_list).to match_array(%w[tag1 tag2])
end
end
-
- context 'when the feature flag is disabled' do
- before do
- job.tag_list = %w[tag1 tag2]
- stub_feature_flags(ci_bulk_insert_tags: false)
- end
-
- it 'follows the old code path' do
- expect(CommitStatus).not_to receive(:bulk_insert_tags!)
-
- step.perform!
-
- expect(job).to be_persisted
- expect(job.reload.tag_list).to match_array(%w[tag1 tag2])
- end
- end
end
end