summaryrefslogtreecommitdiff
path: root/spec/serializers
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-04-06 15:14:40 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2017-04-06 15:14:40 +0200
commit62919a17e16de107c7fe9c1952567b3908a8f151 (patch)
tree877ec60dd4a0ceaf15fa94997a77edd42bea3504 /spec/serializers
parentb828a98c1c07fa07a0e80b73eadf568d68aefeea (diff)
downloadgitlab-ce-62919a17e16de107c7fe9c1952567b3908a8f151.tar.gz
Update tests and associations
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/pipeline_serializer_spec.rb7
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