This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
闭社主体
https://thu.closed.social
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1980
Commits
4
Branches
567 MiB
Tree:
33849acfa7
closed-social-glitch-2
closed-social-v3
cs+3.4.6
master
v0.1.2
v0.1.1
v0.1.0
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from '33849acfa7'
${ noResults }
mastodon
/
spec
/
fabricators
/
media_attachment_fabricator.rb
3 lines
47 B
Raw
Normal View
History
Add API to upload media attachments
8 years ago
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.
7 years ago
Add API to upload media attachments
8 years ago
Fabricator
(
:media_attachment
)
do
account
end