From: Matt Jankowski Date: Thu, 27 Apr 2017 23:21:38 +0000 (-0400) Subject: Add render_views to admin/reports controller spec (#2548) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=a39e719b392f2a2de3415850ff04deeefd3e8742;p=mastodon.git Add render_views to admin/reports controller spec (#2548) --- 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