skipped_spec.rb 562 Bytes
Newer Older
1 2
require 'spec_helper'

3
describe Gitlab::Ci::Status::Skipped do
4 5 6
  subject do
    described_class.new(double('subject'), double('user'))
  end
7

8
  describe '#text' do
9
    it { expect(subject.text).to eq 'skipped' }
10 11
  end

12 13 14 15 16
  describe '#label' do
    it { expect(subject.label).to eq 'skipped' }
  end

  describe '#icon' do
17
    it { expect(subject.icon).to eq 'status_skipped' }
18
  end
19

20 21 22 23
  describe '#favicon' do
    it { expect(subject.favicon).to eq 'favicon_status_skipped' }
  end

24 25 26
  describe '#group' do
    it { expect(subject.group).to eq 'skipped' }
  end
27
end