demarches-normaliennes/spec/factories/administrateur.rb
2017-06-01 18:11:56 +02:00

7 lines
195 B
Ruby

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