~cytrogen/masto-fe

ref: e52d0494ee453cf023365eeed99e1c8dca34916f masto-fe/spec/fabricators/login_activity_fabricator.rb -rw-r--r-- 305 bytes
e52d0494 — Eugen Rochko Fix `before:`, `after:` and `during:` failing when time zone not set (#26782) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

Fabricator(:login_activity) do
  user { Fabricate.build(:user) }
  authentication_method 'password'
  success               true
  failure_reason        nil
  ip                    { Faker::Internet.ip_v4_address }
  user_agent            { Faker::Internet.user_agent }
end