demarches-normaliennes/spec/factories/administration.rb

8 lines
206 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 { 'my-s3cure-p4ssword' }
end
2017-04-04 15:27:04 +02:00
end