user_device.rb 399 B

123456789101112
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. FactoryBot.define do
  3. factory :user_device do
  4. user_id { 1 }
  5. name { 'test 1' }
  6. location { 'some location' }
  7. user_agent { 'some user agent' }
  8. ip { '127.0.0.1' }
  9. sequence(:fingerprint) { |n| "fingerprint#{n}" }
  10. end
  11. end