about summary refs log blame commit diff
path: root/spec/fabricators/user_fabricator.rb
blob: 9031d5cd042a103724b6b3cd51d3c77cceb59c6d (plain) (tree)
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 }
  current_sign_in_at { Time.zone.now }
  agreement true
end