demarches-normaliennes/spec/factories/user.rb
2018-10-26 10:10:20 +00:00

8 lines
201 B
Ruby

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