This website requires JavaScript.
Explore
Help
Sign In
mirror
/
mastodon
Watch
1
Star
0
Fork
0
You've already forked mastodon
mirror of
https://github.com/mastodon/mastodon
synced
2024-12-23 02:58:16 +09:00
Code
298d28af51
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-06 00:46:36 +09: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-08 01:50:43 +09:00
account
Add API to upload media attachments
2016-09-06 00:46:36 +09:00
end
Copy Permalink