about summary refs log tree commit diff
path: root/spec/fabricators/user_fabricator.rb
blob: 967347319c5c1cd820fefd5b361ce05531cc277b (plain) (blame)
1
2
3
4
5
6
7
8
9
# 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 }
  agreement    true
end