demarches-normaliennes/spec/factories/administration.rb

8 lines
196 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) }
2018-09-04 16:46:48 +02:00
password { 'password' }
end
2017-04-04 15:27:04 +02:00
end