Revert "Adds upload fabricator for subfolder image upload"
This reverts commit b619bd2782
.
This commit is contained in:
parent
b619bd2782
commit
cf60f5feee
|
@ -8,16 +8,6 @@ Fabricator(:upload) do
|
||||||
url "/uploads/default/1/1234567890123456.png"
|
url "/uploads/default/1/1234567890123456.png"
|
||||||
end
|
end
|
||||||
|
|
||||||
Fabricator(:subfolder_upload, from: :upload) do
|
|
||||||
user
|
|
||||||
sha1 "e9d71f5ee7c92d6dc9e92ffdad17b8bd49418f98"
|
|
||||||
original_filename "logo.png"
|
|
||||||
filesize 1234
|
|
||||||
width 100
|
|
||||||
height 200
|
|
||||||
url "/uploads/default/1/1234567890123456.png"
|
|
||||||
end
|
|
||||||
|
|
||||||
Fabricator(:attachment, from: :upload) do
|
Fabricator(:attachment, from: :upload) do
|
||||||
id 42
|
id 42
|
||||||
user
|
user
|
||||||
|
|
Loading…
Reference in New Issue