This website requires JavaScript.
Explore
Help
Sign In
nrd.li
/
mastodon
Archived
Watch
1
Star
0
Fork
You've already forked mastodon
0
Code
Issues
Pull requests
Releases
Wiki
Activity
This repository has been archived on
2019-05-14
. You can view files and clone it, but cannot push or open issues or pull requests.
b8e7eee837
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 15:46:36 +00: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 16:50:43 +00:00
account
Add API to upload media attachments
2016-09-05 15:46:36 +00:00
end
Reference in a new issue
Copy permalink