mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 06:43:53 +08:00
9 lines
159 B
Ruby
9 lines
159 B
Ruby
Fabricator(:upload) do
|
|
user
|
|
original_filename "uploaded.jpg"
|
|
filesize 1234
|
|
width 100
|
|
height 200
|
|
url "/uploads/default/1/1234567890123456.jpg"
|
|
end
|