diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-02 12:14:10 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-02 12:14:10 +0100 |
commit | 5df3e8b81b4115f44b1ee56a3531dca6d912756c (patch) | |
tree | fd0465b1c7d344e2408269dea0e38c5885392241 /spec | |
parent | be797097df258f306dca1cf821b7ed9b46e7919f (diff) | |
download | gitlab-ce-5df3e8b81b4115f44b1ee56a3531dca6d912756c.tar.gz |
Add initial implmentation for core success status
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/ci/status/core/success_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/lib/gitlab/ci/status/core/success_spec.rb b/spec/lib/gitlab/ci/status/core/success_spec.rb new file mode 100644 index 00000000000..80587956336 --- /dev/null +++ b/spec/lib/gitlab/ci/status/core/success_spec.rb @@ -0,0 +1,11 @@ +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 |