2018-01-23 17:15:42 +01:00
|
|
|
FactoryBot.define do
|
2017-06-01 17:44:56 +02:00
|
|
|
sequence(:administrateur_email) { |n| "admin#{n}@admin.com" }
|
2015-10-26 15:54:20 +01:00
|
|
|
factory :administrateur do
|
|
|
|
email { generate(:administrateur_email) }
|
2018-09-04 16:46:48 +02:00
|
|
|
password { 'password' }
|
2015-10-26 15:54:20 +01:00
|
|
|
end
|
2017-04-04 15:27:04 +02:00
|
|
|
end
|