mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-16 11:53:13 +00:00
11 lines
305 B
Ruby
11 lines
305 B
Ruby
# 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
|