2013-06-16 20:46:42 -04:00
|
|
|
Fabricator(:upload) do
|
|
|
|
user
|
2013-07-31 17:26:34 -04:00
|
|
|
sha1 "e9d71f5ee7c92d6dc9e92ffdad17b8bd49418f98"
|
2013-06-16 20:46:42 -04:00
|
|
|
original_filename "uploaded.jpg"
|
|
|
|
filesize 1234
|
|
|
|
width 100
|
|
|
|
height 200
|
2013-06-17 16:46:48 -04:00
|
|
|
url "/uploads/default/1/1234567890123456.jpg"
|
2013-06-16 20:46:42 -04:00
|
|
|
end
|
2013-07-10 16:59:07 -04:00
|
|
|
|
|
|
|
Fabricator(:attachment, from: :upload) do
|
2013-09-06 13:18:42 -04:00
|
|
|
id 42
|
2013-07-10 16:59:07 -04:00
|
|
|
user
|
|
|
|
original_filename "archive.zip"
|
|
|
|
filesize 1234
|
2013-09-06 13:18:42 -04:00
|
|
|
url "/uploads/default/42/66b3ed1503efc936.zip"
|
2013-07-10 16:59:07 -04:00
|
|
|
end
|