Commit graph

4 commits

Author SHA1 Message Date
James Lopez
ebd5ced7eb Added test events specs and logic. Also fixed some SQL and refactored the pipeline worker spec. 2016-11-17 08:22:55 +01:00
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