This website requires JavaScript.
Explore
Help
Sign In
cybrespace
/
mastodon
Watch
4
Star
3
Fork
You've already forked mastodon
3
Code
Issues
7
Pull Requests
Releases
Activity
831386977e
mastodon
/
spec
/
fabricators
/
media_attachment_fabricator.rb
4 lines
47 B
Ruby
Raw
Normal View
History
Unescape
Escape
Add API to upload media attachments
2016-09-05 17:46:36 +02:00
Fabricator
(
:media_attachment
)
do
Add specs for media attachment validations 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.
2017-04-07 18:50:43 +02:00
account
Add API to upload media attachments
2016-09-05 17:46:36 +02:00
end