Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Maes <jaspermaes.jm@gmail.com>2018-10-06 14:21:47 +0300
committerJasper Maes <jaspermaes.jm@gmail.com>2018-10-06 15:13:13 +0300
commit043f899b2a90f91f95b902316ad200759b3cdc7c (patch)
treee1253d06a87f060f0aefe72a850778a298a51680 /spec/presenters
parent50c9a09a04048d5d46163fb97be34a739708e7ca (diff)
Rails 5: fix mysql milliseconds problems in scheduled build specs
Diffstat (limited to 'spec/presenters')
-rw-r--r--spec/presenters/ci/build_presenter_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/presenters/ci/build_presenter_spec.rb b/spec/presenters/ci/build_presenter_spec.rb
index b2fe10bb0b0..d7992f0a4a9 100644
--- a/spec/presenters/ci/build_presenter_spec.rb
+++ b/spec/presenters/ci/build_presenter_spec.rb
@@ -227,7 +227,7 @@ describe Ci::BuildPresenter do
it 'returns execution time' do
Timecop.freeze do
- is_expected.to eq(60.0)
+ is_expected.to be_like_time(60.0)
end
end
end