demarches-normaliennes/spec/factories/administration.rb
2018-09-04 16:46:48 +02:00

7 lines
196 B
Ruby

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