Browse Source

Fix tests

closed-social-glitch-2
Claire 2 years ago
parent
commit
9094c2f52c
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      spec/controllers/admin/domain_allows_controller_spec.rb
  2. +1
    -1
      spec/controllers/admin/export_domain_allows_controller_spec.rb
  3. +1
    -1
      spec/controllers/admin/export_domain_blocks_controller_spec.rb

+ 1
- 1
spec/controllers/admin/domain_allows_controller_spec.rb View File

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

+ 1
- 1
spec/controllers/admin/export_domain_allows_controller_spec.rb View File

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

+ 1
- 1
spec/controllers/admin/export_domain_blocks_controller_spec.rb View File

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

Loading…
Cancel
Save