about summary refs log tree commit diff
path: root/spec/fabricators/user_fabricator.rb
blob: 9031d5cd042a103724b6b3cd51d3c77cceb59c6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

Fabricator(:user) do
  account      { Fabricate.build(:account, user: nil) }
  email        { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
  password     '123456789'
  confirmed_at { Time.zone.now }
  current_sign_in_at { Time.zone.now }
  agreement true
end