about summary refs log tree commit diff
path: root/spec/fabricators/login_activity_fabricator.rb
blob: 686fd6483d90603a6d8d5ebe47b54491f8093e8d (plain) (blame)
1
2
3
4
5
6
7
8
Fabricator(:login_activity) do
  user
  authentication_method 'password'
  success               true
  failure_reason        nil
  ip                    { Faker::Internet.ip_v4_address }
  user_agent            { Faker::Internet.user_agent }
end