demarches-normaliennes/spec/factories/gestionnaire.rb

8 lines
187 B
Ruby
Raw Normal View History

2015-09-22 10:15:12 +02:00
FactoryGirl.define do
2017-06-01 17:44:56 +02:00
sequence(:gestionnaire_email) { |n| "gest#{n}@gest.com" }
2015-09-22 10:15:12 +02:00
factory :gestionnaire do
email { generate(:gestionnaire_email) }
password 'password'
end
2017-04-04 15:27:04 +02:00
end