summaryrefslogtreecommitdiff
path: root/spec/serializers
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-04-06 14:31:38 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2017-04-06 14:33:17 +0200
commit8a1c12aa6f9f0f4d7815b5c7c945caadcfc5e10d (patch)
tree690cb9435d8087f1ae7e97ae1a5c16d87ba53cd7 /spec/serializers
parent3015e768f53806abf788b106d8be84486f30cd10 (diff)
downloadgitlab-ce-8a1c12aa6f9f0f4d7815b5c7c945caadcfc5e10d.tar.gz
Introduce endpoint optimisations
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/pipeline_serializer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/serializers/pipeline_serializer_spec.rb b/spec/serializers/pipeline_serializer_spec.rb
index 657d10aae99..add43182cc2 100644
--- a/spec/serializers/pipeline_serializer_spec.rb
+++ b/spec/serializers/pipeline_serializer_spec.rb
@@ -105,7 +105,7 @@ describe PipelineSerializer do
it "verifies number of queries" do
recorded = ActiveRecord::QueryRecorder.new { subject }
- expect(recorded.count).to be_within(320).of(10)
+ expect(recorded.count).to be_within(200).of(10)
end
def create_pipeline(status)