login_activity_fabricator.rb 247 B

12345678
  1. Fabricator(:login_activity) do
  2. user
  3. authentication_method 'password'
  4. success true
  5. failure_reason nil
  6. ip { Faker::Internet.ip_v4_address }
  7. user_agent { Faker::Internet.user_agent }
  8. end