23feb6a773
[ci skip]
19 lines
391 B
Ruby
19 lines
391 B
Ruby
require 'spec_helper'
|
|
|
|
describe Gitlab::Ci::Status::Pending do
|
|
subject do
|
|
described_class.new(double('subject'), double('user'))
|
|
end
|
|
|
|
describe '#text' do
|
|
it { expect(subject.label).to eq 'pending' }
|
|
end
|
|
|
|
describe '#label' do
|
|
it { expect(subject.label).to eq 'pending' }
|
|
end
|
|
|
|
describe '#icon' do
|
|
it { expect(subject.icon).to eq 'icon_status_pending' }
|
|
end
|
|
end
|