mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-25 16:24:00 +00:00
Add render_views to admin/reports controller spec (#2548)
This commit is contained in:
parent
f51b2cb2e7
commit
a39e719b39
|
@ -1,6 +1,8 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
describe Admin::ReportsController do
|
describe Admin::ReportsController do
|
||||||
|
render_views
|
||||||
|
|
||||||
let(:user) { Fabricate(:user, admin: true) }
|
let(:user) { Fabricate(:user, admin: true) }
|
||||||
before do
|
before do
|
||||||
sign_in user, scope: :user
|
sign_in user, scope: :user
|
||||||
|
|
Loading…
Reference in a new issue