demarches-normaliennes/spec/factories/administration.rb

8 lines
193 B
Ruby
Raw Normal View History

FactoryGirl.define do
sequence(:administration_email) { |n| "plop#{n}@plop.com" }
factory :administration do
email { generate(:administration_email) }
password 'password'
end
2017-04-04 15:27:04 +02:00
end