diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/admin/reports_controller_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/admin/reports_controller_spec.rb b/spec/controllers/admin/reports_controller_spec.rb index ab93c6271..89b58ad07 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 |