mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-29 10:53:39 +00:00
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. |
||
|---|---|---|
| .. | ||
| controllers | ||
| fabricators | ||
| fixtures | ||
| helpers | ||
| javascript | ||
| lib | ||
| mailers | ||
| models | ||
| services | ||
| support/matchers/model | ||
| i18n_spec.rb | ||
| rails_helper.rb | ||
| spec_helper.rb | ||