Fix spec
This commit is contained in:
parent
8fe57d24a7
commit
fb685031d8
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ describe Gitlab::Ci::Status::Build::Scheduled do
|
||||||
context 'when scheduled_at is expired' do
|
context 'when scheduled_at is expired' do
|
||||||
let(:build) { create(:ci_build, :expired_scheduled, project: project) }
|
let(:build) { create(:ci_build, :expired_scheduled, project: project) }
|
||||||
|
|
||||||
it 'shows 00:00:00' do
|
it 'shows 00:00' do
|
||||||
Timecop.freeze do
|
Timecop.freeze do
|
||||||
expect(subject.status_tooltip).to include('00:00:00')
|
expect(subject.status_tooltip).to include('00:00')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue