diff options
author | Sean McGivern <sean@gitlab.com> | 2018-03-15 12:44:59 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-03-15 12:44:59 +0000 |
commit | 511cf9345f2b95dd6b8c0aa26450ae8458637d2f (patch) | |
tree | 4a02c822eaa430aae30aab7b099d908489632083 /spec/serializers | |
parent | e1f076ecb5c0e92e62ee628b6c18bc8869812b2e (diff) | |
download | gitlab-ce-511cf9345f2b95dd6b8c0aa26450ae8458637d2f.tar.gz |
Fix pipeline serializer spec
This is 36 in CE, and 40 in EE.
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 14c9f5cb58c..f51c11b141f 100644 --- a/spec/serializers/pipeline_serializer_spec.rb +++ b/spec/serializers/pipeline_serializer_spec.rb @@ -118,7 +118,7 @@ describe PipelineSerializer do it 'verifies number of queries', :request_store do recorded = ActiveRecord::QueryRecorder.new { subject } - expect(recorded.count).to be_within(1).of(40) + expect(recorded.count).to be_within(1).of(36) expect(recorded.cached_count).to eq(0) end end |