refacto: rename administration to super_admin
This commit is contained in:
parent
a88172eb01
commit
5562e65bf3
39 changed files with 180 additions and 175 deletions
|
@ -1,8 +0,0 @@
|
|||
FactoryBot.define do
|
||||
sequence(:administration_email) { |n| "plop#{n}@plop.com" }
|
||||
factory :administration do
|
||||
email { generate(:administration_email) }
|
||||
password { 'my-s3cure-p4ssword' }
|
||||
otp_required_for_login { true }
|
||||
end
|
||||
end
|
8
spec/factories/super_admin.rb
Normal file
8
spec/factories/super_admin.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
FactoryBot.define do
|
||||
sequence(:super_admin_email) { |n| "plop#{n}@plop.com" }
|
||||
factory :super_admin do
|
||||
email { generate(:super_admin_email) }
|
||||
password { 'my-s3cure-p4ssword' }
|
||||
otp_required_for_login { true }
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue