blob: 94601648a8de25b762c7cf8e53c6410d273e40b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
require 'spec_helper'
describe Gitlab::Ci::Status::Skipped do
subject do
described_class.new(double('subject'), double('user'))
end
describe '#text' do
it { expect(subject.label).to eq 'skipped' }
end
describe '#label' do
it { expect(subject.label).to eq 'skipped' }
end
describe '#icon' do
it { expect(subject.icon).to eq 'icon_status_skipped' }
end
end
|