diff --git a/spec/controllers/admin/reports_controller_spec.rb b/spec/controllers/admin/reports_controller_spec.rb index ab93c6271e..89b58ad074 100644 --- a/spec/controllers/admin/reports_controller_spec.rb +++ b/spec/controllers/admin/reports_controller_spec.rb @@ -1,6 +1,8 @@ require 'rails_helper' describe Admin::ReportsController do + render_views + let(:user) { Fabricate(:user, admin: true) } before do sign_in user, scope: :user