demarches-normaliennes/spec/factories/administration.rb
2019-08-01 17:12:14 +02:00

7 lines
215 B
Ruby

FactoryBot.define do
sequence(:administration_email) { |n| "plop#{n}@plop.com" }
factory :administration do
email { generate(:administration_email) }
password { 'démarches-simplifiées-pwd' }
end
end