blob: 9d527e6a7efe50e1e5db8819c381fe6493c72adb (
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::Failed do
subject do
described_class.new(double('subject'), double('user'))
end
describe '#text' do
it { expect(subject.label).to eq 'failed' }
end
describe '#label' do
it { expect(subject.label).to eq 'failed' }
end
describe '#icon' do
it { expect(subject.icon).to eq 'icon_status_failed' }
end
end
|