summaryrefslogtreecommitdiff
path: root/spec/serializers
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-11-02 19:38:25 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-12-03 12:04:49 +0100
commitc7d945758accc6f80ee63c7c3b25782cf7f6f3b0 (patch)
tree4d3f5dd8325eee87ab72a3c0269f452a0edacd82 /spec/serializers
parentcc750539ec852e9f42ea25b31cc14a45962fc975 (diff)
downloadgitlab-ce-c7d945758accc6f80ee63c7c3b25782cf7f6f3b0.tar.gz
Fix most test failures
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 7144b66585c..88d347322a6 100644
--- a/spec/serializers/pipeline_serializer_spec.rb
+++ b/spec/serializers/pipeline_serializer_spec.rb
@@ -117,7 +117,7 @@ describe PipelineSerializer do
shared_examples 'no N+1 queries' do
it 'verifies number of queries', :request_store do
recorded = ActiveRecord::QueryRecorder.new { subject }
- expect(recorded.count).to be_within(1).of(57)
+ expect(recorded.count).to be_within(1).of(36)
expect(recorded.cached_count).to eq(0)
end
end