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