mirror of
https://github.com/funamitech/mastodon
synced 2024-12-01 00:08:39 +09:00
7 lines
197 B
Ruby
7 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
|