Commit 8a064492 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Added 1 query when checking accessibility of the pipeline

We now need to check if the user does not have access to the pipeline
through a merge request that allows maintainer access
parent 8e5d240c
......@@ -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(2).of(40)
expect(recorded.cached_count).to eq(0)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment