demarches-normaliennes/spec/factories/administration.rb

7 lines
192 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
end