Thong Kuah
d6b952ad3e
Add frozen_string_literal to spec/workers
...
Adds `# frozen_string_literal: true` to spec/workers ruby files
2019-04-01 13:35:22 -03:00
Grzegorz Bizon
73187801df
Revert adding shared examples for every sidekiq worker
...
Since this already exists in `every_sidekiq_worker_spec.rb`.
2017-08-22 12:09:57 +02:00
Grzegorz Bizon
75dca155af
Fix incorrect let
in pipeline metrics worker specs
2017-08-22 11:37:35 +02:00
Grzegorz Bizon
8417507201
Assign all pipeline workers to specific queues
2017-08-21 14:02:20 +02:00
Felipe Artur
d9bebd89df
Fix specs 2
2017-05-08 11:29:10 -03:00
Felipe Artur
85f0b3a984
Add merge requests association to pipeline
2017-05-08 11:24:55 -03:00
Robert Speicher
68e6718932
Use :empty_project
where possible in worker specs
2017-03-27 18:45:37 -04:00
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