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

7 lines
193 B
Ruby

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