diff options
Diffstat (limited to 'spec/helpers/ci/pipelines_helper_spec.rb')
-rw-r--r-- | spec/helpers/ci/pipelines_helper_spec.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/helpers/ci/pipelines_helper_spec.rb b/spec/helpers/ci/pipelines_helper_spec.rb index 61583ca1173..00bc38dbd94 100644 --- a/spec/helpers/ci/pipelines_helper_spec.rb +++ b/spec/helpers/ci/pipelines_helper_spec.rb @@ -72,28 +72,6 @@ RSpec.describe Ci::PipelinesHelper do end end - describe 'has_pipeline_badges?' do - let(:pipeline) { create(:ci_empty_pipeline) } - - subject { helper.has_pipeline_badges?(pipeline) } - - context 'when pipeline has a badge' do - before do - pipeline.drop!(:config_error) - end - - it 'shows pipeline badges' do - expect(subject).to eq(true) - end - end - - context 'when pipeline has no badges' do - it 'shows pipeline badges' do - expect(subject).to eq(false) - end - end - end - describe '#pipelines_list_data' do let_it_be(:project) { create(:project) } |