summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/ci/status/core/success_spec.rb
blob: 93a656a46cd6507b923a3e8db4649731fabd90b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'spec_helper'

describe Gitlab::Ci::Status::Core::Success do
  subject { described_class.new(double('subject')) }

  describe '#label' do
    it { expect(subject.label).to eq 'passed' }
  end

  describe '#icon' do
    it { expect(subject.icon).to eq 'success' }
  end
end