demarches-normaliennes/spec/factories/gestionnaire.rb
2015-09-22 10:15:12 +02:00

7 lines
No EOL
186 B
Ruby

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