Ensure unique values in fabricators (#29515)

This commit is contained in:
Matt Jankowski 2024-03-11 04:53:24 -04:00 committed by GitHub
parent 6f8ec6d7f8
commit 98ef38e34e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

@ -2,5 +2,5 @@
Fabricator(:site_upload) do
file { Rails.root.join('spec', 'fabricators', 'assets', 'utah_teapot.png').open }
var 'thumbnail'
var { sequence(:var) { |i| "thumbnail_#{i}" } }
end