demarches-normaliennes/spec/factories/gestionnaire.rb
2017-04-04 16:59:38 +02:00

7 lines
187 B
Ruby

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