vt-social/spec/fabricators/site_upload_fabricator.rb

7 lines
165 B
Ruby

# frozen_string_literal: true
Fabricator(:site_upload) do
file { Rails.root.join('spec', 'fabricators', 'assets', 'utah_teapot.png').open }
var 'thumbnail'
end