demarches-normaliennes/spec/factories/gestionnaire.rb
2018-01-23 17:15:42 +01:00

7 lines
186 B
Ruby

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