diff options
Diffstat (limited to 'spec/presenters/ci/build_runner_presenter_spec.rb')
-rw-r--r-- | spec/presenters/ci/build_runner_presenter_spec.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/presenters/ci/build_runner_presenter_spec.rb b/spec/presenters/ci/build_runner_presenter_spec.rb index f78ad38f4e8..1e6c33484ec 100644 --- a/spec/presenters/ci/build_runner_presenter_spec.rb +++ b/spec/presenters/ci/build_runner_presenter_spec.rb @@ -196,16 +196,6 @@ RSpec.describe Ci::BuildRunnerPresenter do expect(subject[0]).to match(/^\+[0-9a-f]{40}:refs\/pipelines\/[0-9]+$/) end - context 'when the scalability_ci_fetch_sha feature flag is disabled' do - before do - stub_feature_flags(scalability_ci_fetch_sha: false) - end - - it 'fetches the ref by name' do - expect(subject[0]).to eq("+refs/pipelines/#{pipeline.id}:refs/pipelines/#{pipeline.id}") - end - end - context 'when ref is tag' do let(:build) { create(:ci_build, :tag) } |