summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-10-12 10:57:08 +0900
committerShinya Maeda <shinya@gitlab.com>2018-10-18 15:11:12 +0900
commitfb685031d8c60ca1d8f607c569cd519875e873c9 (patch)
tree285cafa9dd21aea337756d692ea3b1c3e71d8f94 /spec/lib
parent8fe57d24a766dcff112fafed6932a9fc76274a42 (diff)
downloadgitlab-ce-fb685031d8c60ca1d8f607c569cd519875e873c9.tar.gz
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/ci/status/build/scheduled_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/ci/status/build/scheduled_spec.rb b/spec/lib/gitlab/ci/status/build/scheduled_spec.rb
index f98183d6d18..4a52b3ab8de 100644
--- a/spec/lib/gitlab/ci/status/build/scheduled_spec.rb
+++ b/spec/lib/gitlab/ci/status/build/scheduled_spec.rb
@@ -26,9 +26,9 @@ describe Gitlab::Ci::Status::Build::Scheduled do
context 'when scheduled_at is expired' do
let(:build) { create(:ci_build, :expired_scheduled, project: project) }
- it 'shows 00:00:00' do
+ it 'shows 00:00' do
Timecop.freeze do
- expect(subject.status_tooltip).to include('00:00:00')
+ expect(subject.status_tooltip).to include('00:00')
end
end
end