~cytrogen/masto-fe

ref: 68b4e36c82344fba7c5a01e9f8dc9ddbaaf4e3ff masto-fe/spec/fabricators/login_activity_fabricator.rb -rw-r--r-- 305 bytes
68b4e36c — Eugen Rochko Fix `#hashtag` matching non-hashtagged posts in search (#26781) 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