Commit Graph

3 Commits

Author SHA1 Message Date
Nick Thomas bfb20200e9 Add a be_like_time matcher and use it in specs
The amount of precision times have in databases is variable, so we need
tolerances when comparing in specs. It's better to have the tolerance defined
in one place than several.
2016-10-17 14:44:20 +01:00
Kamil Trzcinski 009da2fc80 Fix broken specs on MySQL after https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6896 2016-10-17 14:31:43 +02:00
Kamil Trzcinski a497803072 Improve spec for pipeline metrics worker 2016-10-17 10:27:53 +02:00