From a39e719b392f2a2de3415850ff04deeefd3e8742 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 27 Apr 2017 19:21:38 -0400 Subject: [PATCH] Add render_views to admin/reports controller spec (#2548) --- spec/controllers/admin/reports_controller_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/controllers/admin/reports_controller_spec.rb b/spec/controllers/admin/reports_controller_spec.rb index ab93c627..89b58ad0 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