diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2021-06-21 17:07:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 17:07:30 +0200 |
commit | d174d12c831989bf1d5d3ca54d4f26d28c2c8925 (patch) | |
tree | 9a40d954c9983d6ecbef59c078079a5bd9b26dca /spec/fabricators | |
parent | 946200b471685545878cec56e4959dd6b8d50ab8 (diff) |
Add authentication history (#16408)
Diffstat (limited to 'spec/fabricators')
-rw-r--r-- | spec/fabricators/login_activity_fabricator.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/fabricators/login_activity_fabricator.rb b/spec/fabricators/login_activity_fabricator.rb new file mode 100644 index 000000000..931d3082c --- /dev/null +++ b/spec/fabricators/login_activity_fabricator.rb @@ -0,0 +1,8 @@ +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 |