BigW Consortium Gitlab

skipped_spec.rb 470 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 9 10 11
  describe '#text' do
    it { expect(subject.label).to eq 'skipped' }
  end

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

  describe '#icon' do
    it { expect(subject.icon).to eq 'icon_status_skipped' }
  end
19 20 21 22

  describe '#group' do
    it { expect(subject.group).to eq 'skipped' }
  end
23
end