1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-25 07:37:08 +09:00

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

This commit is contained in:
Matt Jankowski 2017-04-27 19:21:38 -04:00 committed by Eugen Rochko
parent f51b2cb2e7
commit a39e719b39

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