Commit f8b50e3a authored by Stan Hu's avatar Stan Hu

Enable RequestStore in IssuesController spec to prevent N+1 warnings

parent b1a2b6c2
......@@ -17,7 +17,7 @@ describe Boards::IssuesController do
project.team << [guest, :guest]
end
describe 'GET index' do
describe 'GET index', :request_store do
let(:johndoe) { create(:user, avatar: fixture_file_upload(File.join(Rails.root, 'spec/fixtures/dk.png'))) }
context 'with invalid board id' do
......
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