about summary refs log tree commit diff
path: root/spec/fabricators/login_activity_fabricator.rb
blob: 2b30658ff52d97cf834448ae0a5ecd0a93b9601f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

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