demarches-normaliennes/spec/factories/user.rb
2018-01-23 17:15:42 +01:00

7 lines
162 B
Ruby

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