demarches-normaliennes/spec/factories/gestionnaire.rb
2019-03-12 12:14:34 +01: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