Commit 5df3e8b8 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add initial implmentation for core success status

parent be797097
...@@ -2,6 +2,13 @@ module Gitlab::Ci ...@@ -2,6 +2,13 @@ module Gitlab::Ci
module Status module Status
module Core module Core
class Success class Success
def label
'passed'
end
def icon
'success'
end
end end
end end
end end
......
require 'spec_helper'
describe Gitlab::Ci::Status::Core::Success do
describe '#label' do
it { expect(subject.label).to eq 'passed' }
end
describe '#icon' do
it { expect(subject.icon).to eq 'success' }
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment