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