demarches-normaliennes/spec/factories/administration.rb
2016-12-15 15:09:50 +01:00

7 lines
No EOL
192 B
Ruby

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