mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-30 10:59:04 +01:00
38bec79811
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.
3 lines
47 B
Ruby
3 lines
47 B
Ruby
Fabricator(:media_attachment) do
|
|
account
|
|
end
|