diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-04-06 14:31:38 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-04-06 14:33:17 +0200 |
commit | 8a1c12aa6f9f0f4d7815b5c7c945caadcfc5e10d (patch) | |
tree | 690cb9435d8087f1ae7e97ae1a5c16d87ba53cd7 /spec/serializers | |
parent | 3015e768f53806abf788b106d8be84486f30cd10 (diff) | |
download | gitlab-ce-8a1c12aa6f9f0f4d7815b5c7c945caadcfc5e10d.tar.gz |
Introduce endpoint optimisations
Diffstat (limited to 'spec/serializers')
-rw-r--r-- | spec/serializers/pipeline_serializer_spec.rb | 2 |
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) |