forked from treehouse/mastodon
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. |
||
---|---|---|
.. | ||
account_fabricator.rb | ||
application_fabricator.rb | ||
block_fabricator.rb | ||
domain_block_fabricator.rb | ||
favourite_fabricator.rb | ||
follow_fabricator.rb | ||
follow_request_fabricator.rb | ||
import_fabricator.rb | ||
media_attachment_fabricator.rb | ||
mention_fabricator.rb | ||
mute_fabricator.rb | ||
notification_fabricator.rb | ||
preview_card_fabricator.rb | ||
report_fabricator.rb | ||
status_fabricator.rb | ||
subscription_fabricator.rb | ||
tag_fabricator.rb | ||
user_fabricator.rb | ||
web_setting_fabricator.rb |