Update status group name for success with warnings
This commit is contained in:
parent
cce41cb2a6
commit
b18897ac40
2 changed files with 5 additions and 1 deletions
|
@ -17,7 +17,7 @@ module Gitlab
|
|||
'icon_status_warning'
|
||||
end
|
||||
|
||||
def to_s
|
||||
def group
|
||||
'success_with_warnings'
|
||||
end
|
||||
|
||||
|
|
|
@ -17,6 +17,10 @@ describe Gitlab::Ci::Status::Pipeline::SuccessWithWarnings do
|
|||
it { expect(subject.icon).to eq 'icon_status_warning' }
|
||||
end
|
||||
|
||||
describe '#group' do
|
||||
it { expect(subject.group).to eq 'success_with_warnings' }
|
||||
end
|
||||
|
||||
describe '.matches?' do
|
||||
context 'when pipeline is successful' do
|
||||
let(:pipeline) do
|
||||
|
|
Loading…
Reference in a new issue