This commit is contained in:
Shinya Maeda 2018-10-12 10:57:08 +09:00
parent 8fe57d24a7
commit fb685031d8

View file

@ -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