1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/spec/fabricators/site_upload_fabricator.rb
2024-03-11 08:53:24 +00:00

6 lines
197 B
Ruby

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