1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-13 06:08:23 +09:00
mastodon/spec/fabricators/site_upload_fabricator.rb

7 lines
197 B
Ruby
Raw Normal View History

# 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