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