about summary refs log tree commit diff
path: root/spec/fabricators/user_fabricator.rb
blob: 10ad2c53a30df45cda667b5e47ddeba1c667c07c (plain) (blame)
1
2
3
4
5
6
7
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