Commit 959b31c7 authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Lessen margin on MergeRequestsController#show.json query count

parent efc6691e
......@@ -291,7 +291,7 @@ describe Projects::MergeRequestsController do
recorded = ActiveRecord::QueryRecorder.new { go(format: :json) }
expect(recorded.count).to be_within(5).of(31)
expect(recorded.count).to be_within(1).of(31)
expect(recorded.cached_count).to eq(0)
RequestStore.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