1
0

user_fabricator.rb 303 B

12345678910
  1. # frozen_string_literal: true
  2. Fabricator(:user) do
  3. account { Fabricate.build(:account, user: nil) }
  4. email { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
  5. password '123456789'
  6. confirmed_at { Time.zone.now }
  7. current_sign_in_at { Time.zone.now }
  8. agreement true
  9. end