demarches-normaliennes/spec/factories/administrateur.rb
2015-10-26 15:54:20 +01:00

7 lines
No EOL
192 B
Ruby

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