1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 14:28:24 +09:00

Fix tests

This commit is contained in:
Claire 2022-07-05 12:00:27 +02:00
parent 7527937758
commit 9094c2f52c
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ RSpec.describe Admin::DomainAllowsController, type: :controller do
render_views render_views
before do before do
sign_in Fabricate(:user, admin: true), scope: :user sign_in Fabricate(:user, role: UserRole.find_by(name: 'Admin')), scope: :user
end end
describe 'GET #new' do describe 'GET #new' do

View File

@ -4,7 +4,7 @@ RSpec.describe Admin::ExportDomainAllowsController, type: :controller do
render_views render_views
before do before do
sign_in Fabricate(:user, admin: true), scope: :user sign_in Fabricate(:user, role: UserRole.find_by(name: 'Admin')), scope: :user
end end
describe 'GET #export' do describe 'GET #export' do

View File

@ -4,7 +4,7 @@ RSpec.describe Admin::ExportDomainBlocksController, type: :controller do
render_views render_views
before do before do
sign_in Fabricate(:user, admin: true), scope: :user sign_in Fabricate(:user, role: UserRole.find_by(name: 'Admin')), scope: :user
end end
describe 'GET #export' do describe 'GET #export' do