2023-02-22 09:55:31 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-09-14 07:04:30 +09:00
|
|
|
Fabricator(:site_upload) do
|
2023-02-22 09:57:15 +09:00
|
|
|
file { Rails.root.join('spec', 'fabricators', 'assets', 'utah_teapot.png').open }
|
2024-03-11 17:53:24 +09:00
|
|
|
var { sequence(:var) { |i| "thumbnail_#{i}" } }
|
2017-09-14 07:04:30 +09:00
|
|
|
end
|