demarches-normaliennes/spec/factories/gestionnaire.rb
2018-09-04 16:46:48 +02:00

7 lines
190 B
Ruby

FactoryBot.define do
sequence(:gestionnaire_email) { |n| "gest#{n}@gest.com" }
factory :gestionnaire do
email { generate(:gestionnaire_email) }
password { 'password' }
end
end