There are currently not specs for the two media validations that are performed by `PostStatusService`. This adds specs for the validations that ensure that you cannot attach more than four files, and that a status cannot have both image and video attachments.th-downstream
parent
2f1bd3462e
commit
31f01ad592
@ -1,3 +1,3 @@
|
||||
Fabricator(:media_attachment) do
|
||||
|
||||
account
|
||||
end
|
||||
|
Loading…
Reference in new issue