demarches-normaliennes/spec/factories/administration.rb
2020-07-23 16:20:16 +02:00

7 lines
206 B
Ruby

FactoryBot.define do
sequence(:administration_email) { |n| "plop#{n}@plop.com" }
factory :administration do
email { generate(:administration_email) }
password { 'my-s3cure-p4ssword' }
end
end