avatar.rb 417 B

123456789101112131415
  1. FactoryBot.define do
  2. factory :avatar do
  3. object_lookup_id { ObjectLookup.by_name('User') }
  4. o_id { 1 }
  5. default { true }
  6. deletable { true }
  7. initial { false }
  8. source { 'init' }
  9. source_url { nil }
  10. created_by_id { 1 }
  11. updated_by_id { 1 }
  12. created_at { Time.zone.now }
  13. updated_at { Time.zone.now }
  14. end
  15. end