Add render_views to admin/reports controller spec (#2548)

lolsob-rspec
Matt Jankowski 2017-04-27 19:21:38 -04:00 committed by Eugen Rochko
parent 4c01112a6f
commit 01b7056b81
1 changed files with 2 additions and 0 deletions

View File

@ -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