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

7 lines
193 B
Ruby

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