mastodon/spec/fabricators/site_upload_fabricator.rb

6 lines
159 B
Ruby

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