store.rb 357 B

123456789101112131415
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. FactoryBot.define do
  3. factory :store do
  4. object { 'UploadCache' }
  5. o_id { 1 }
  6. preferences { {} }
  7. created_by_id { 1 }
  8. factory :store_image do
  9. data { File.binread(Rails.root.join('test/data/image/1x1.png')) }
  10. filename { '1x1.png' }
  11. end
  12. end
  13. end