Commit 2d653bf2 authored by Nick Thomas's avatar Nick Thomas

Merge branch 'sh-enable-request-store-issues' into 'master'

Enable RequestStore in IssuesController spec to prevent N+1 warnings

See merge request gitlab-org/gitlab-ee!3356
parents b9a4a6b5 f8b50e3a
...@@ -17,7 +17,7 @@ describe Boards::IssuesController do ...@@ -17,7 +17,7 @@ describe Boards::IssuesController do
project.team << [guest, :guest] project.team << [guest, :guest]
end 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'))) } let(:johndoe) { create(:user, avatar: fixture_file_upload(File.join(Rails.root, 'spec/fixtures/dk.png'))) }
context 'with invalid board id' do 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