demarches-normaliennes/spec/factories/administration.rb
2018-01-23 17:15:42 +01:00

7 lines
192 B
Ruby

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