Commit 65effeb2 authored by Douwe Maan's avatar Douwe Maan

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

Handle transient MR query count spec [EE]

See merge request !1949
parents bb2a0453 e6bede04
......@@ -290,7 +290,7 @@ describe Projects::MergeRequestsController do
recorded = ActiveRecord::QueryRecorder.new { go(format: :json) }
expect(recorded.count).to be_within(1).of(100)
expect(recorded.count).to be_within(5).of(95)
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