gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/spec/fabricators/login_activity_fabricator.rb

11 lines
305 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2021-06-21 17:07:30 +02:00
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 }
2021-06-21 17:07:30 +02:00
end