about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-27 19:21:38 -0400
committerEugen Rochko <eugen@zeonfederated.com>2017-04-28 01:21:38 +0200
commita39e719b392f2a2de3415850ff04deeefd3e8742 (patch)
tree054db1c9eef2dab62651243cf3f4c1e4a3c1d370 /spec
parentf51b2cb2e795fef315fc912118a9d2b8e4a1b245 (diff)
Add render_views to admin/reports controller spec (#2548)
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/admin/reports_controller_spec.rb2
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