user_fabricator.rb 236 B

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