1
0
Fork 0
forked from fedi/mastodon
mastodon/spec/fabricators/login_activity_fabricator.rb

9 lines
247 B
Ruby
Raw Normal View History

2021-06-21 15:07:30 +00:00
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 }
2021-06-21 15:07:30 +00:00
end