demarches-normaliennes/spec/factories/administration.rb

8 lines
192 B
Ruby
Raw Normal View History

2018-01-23 17:15:42 +01:00
FactoryBot.define do
sequence(:administration_email) { |n| "plop#{n}@plop.com" }
factory :administration do
email { generate(:administration_email) }
password 'password'
end
2017-04-04 15:27:04 +02:00
end