Commit fb685031 authored by Shinya Maeda's avatar Shinya Maeda

Fix spec

parent 8fe57d24
...@@ -26,9 +26,9 @@ describe Gitlab::Ci::Status::Build::Scheduled do ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment