1
0
REI-Fixed/spec/fabricators/login_activity_fabricator.rb

9 lines
212 B
Ruby
Raw Normal View History

2021-06-22 00:07:30 +09:00
Fabricator(:login_activity) do
user
strategy 'password'
success true
failure_reason nil
ip { Faker::Internet.ip_v4_address }
user_agent { Faker::Internet.user_agent }
end