demarches-normaliennes/spec/factories/administrateur.rb

7 lines
192 B
Ruby
Raw Normal View History

2015-10-26 15:54:20 +01:00
FactoryGirl.define do
sequence(:administrateur_email) { |n| "plop#{n}@plop.com" }
factory :administrateur do
email { generate(:administrateur_email) }
password 'password'
end
end