Skip to content
Snippets Groups Projects
Commit 3cfcbcf3 authored by Douwe Maan's avatar Douwe Maan
Browse files

Merge branch 'handle-transient-mr-query-count-spec' into 'master'

Handle transient MR query count spec

See merge request !11571
parents 44f07f63 28ffb4bf
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -127,7 +127,7 @@ describe Projects::MergeRequestsController do
 
recorded = ActiveRecord::QueryRecorder.new { go(format: :json) }
 
expect(recorded.count).to be_within(1).of(51)
expect(recorded.count).to be_within(5).of(50)
expect(recorded.cached_count).to eq(0)
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment