demarches-normaliennes/spec/factories/super_admin.rb
2020-12-15 16:26:09 +01:00

8 lines
235 B
Ruby

FactoryBot.define do
sequence(:super_admin_email) { |n| "plop#{n}@plop.com" }
factory :super_admin do
email { generate(:super_admin_email) }
password { '{My-$3cure-p4ssWord}' }
otp_required_for_login { true }
end
end