site_upload_fabricator.rb 197 B

123456
  1. # frozen_string_literal: true
  2. Fabricator(:site_upload) do
  3. file { Rails.root.join('spec', 'fabricators', 'assets', 'utah_teapot.png').open }
  4. var { sequence(:var) { |i| "thumbnail_#{i}" } }
  5. end