Commit bd722305 authored by Rémy Coutable's avatar Rémy Coutable

Fix Projects::MergeRequestsController#show spec

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 4666b562
...@@ -290,7 +290,7 @@ describe Projects::MergeRequestsController do ...@@ -290,7 +290,7 @@ describe Projects::MergeRequestsController do
recorded = ActiveRecord::QueryRecorder.new { go(format: :json) } recorded = ActiveRecord::QueryRecorder.new { go(format: :json) }
expect(recorded.count).to be_within(1).of(100) expect(recorded.count).to be_within(3).of(100)
expect(recorded.cached_count).to eq(0) expect(recorded.cached_count).to eq(0)
end end
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