diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-04-06 15:14:40 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-04-06 15:14:40 +0200 |
commit | 62919a17e16de107c7fe9c1952567b3908a8f151 (patch) | |
tree | 877ec60dd4a0ceaf15fa94997a77edd42bea3504 /spec/serializers | |
parent | b828a98c1c07fa07a0e80b73eadf568d68aefeea (diff) | |
download | gitlab-ce-62919a17e16de107c7fe9c1952567b3908a8f151.tar.gz |
Update tests and associations
Diffstat (limited to 'spec/serializers')
-rw-r--r-- | spec/serializers/pipeline_serializer_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/serializers/pipeline_serializer_spec.rb b/spec/serializers/pipeline_serializer_spec.rb index 54cb9babe45..997f40662c5 100644 --- a/spec/serializers/pipeline_serializer_spec.rb +++ b/spec/serializers/pipeline_serializer_spec.rb @@ -101,6 +101,13 @@ describe PipelineSerializer do Ci::Pipeline::AVAILABLE_STATUSES.each do |status| create_pipeline(status) end + + RequestStore.begin! + end + + after do + RequestStore.end! + RequestStore.clear! end it "verifies number of queries" do |