Commit Graph

32 Commits (91c75a63616e8a8616cc09484e033bab2780a925)

Author SHA1 Message Date
Matt Jankowski efcd4ea5de
Reference value constants from specs (#33479) 6 days ago
Matt Jankowski 0fcf227a92
Add media attachment description limit to instance API response (#33153) 1 month ago
Emelia Smith d94a367aeb
Add test coverage for POST /api/v2/media's max description length (#32683) 3 months ago
Matt Jankowski 0ba3ad4a35
Remove `body_json_ids` from api/v2/admin/accounts spec (#32003) 4 months ago
Matt Jankowski d55f4fbda1
Add content type checks to api/v2 request specs (#31983) 4 months ago
Matt Jankowski 9a03902ab6
Capture actual behavior in v2/notifications "someone else" dismiss scenario (#31985) 4 months ago
Matt Jankowski b071e618e7
Combine API request spec assertions (#31970) 4 months ago
Claire e0648a916a
Rename `/api/v2_alpha/notifications*` to `/api/v2/notifications*` (#31840) 4 months ago
Matt Jankowski 6b6a80b407
Remove `body_as_json` in favor of built-in `response.parsed_body` for JSON response specs (#31749) 4 months ago
Matt Jankowski f1003b2560
Enable "zero monkey patching" mode in RSpec (#31614) 4 months ago
Matt Jankowski 24a0b20408
Use `body_as_json` directly instead of via local var assignment (#31696) 4 months ago
Matt Jankowski 40f993b3a0
Use built-in `response.parsed_body` for JSON response specs (#31674) 4 months ago
Claire 19a1acb38b
Add `api_versions` to `/api/v2/instance` (#31354) 5 months ago
Claire cbdd8edf68
Revamp notification policy options (#31343) 5 months ago
Matt Jankowski 43e24dbb13
Use `include_pagination_headers` in more places (#30999) 6 months ago
Matt Jankowski f1300ad284
Rename jobs/attachments rspec tag names (#29762) 6 months ago
Matt Jankowski c61e356475
Add `Status::MEDIA_ATTACHMENTS_LIMIT` configuration constant (#30433) 8 months ago
Matt Jankowski 3a862439df
Remove unused account record in api/v2/admin/accounts spec (#30397) 8 months ago
Matt Jankowski 34489591ec
Add `max_pinned_statuses` to instances serializer and api response (#29441) 10 months ago
Matt Jankowski 71eecbfa1f
Move `api/v2/filters/*` to request spec (#28956) 10 months ago
Claire 7ee93b7431
Change `source` attribute of `Suggestion` entity in `/api/v2/suggestions` back to a string (#29108) 11 months ago
Matt Jankowski b6baab447d
Move `api/v2/admin/accounts` to request spec (#28950) 12 months ago
Matt Jankowski c28976d89e
Handle negative offset param in `api/v2/search` (#28282) 1 year ago
Matt Jankowski 0e4233de9d
Controller spec to request spec: `api/v2/suggestions` (#28297) 1 year ago
Matt Jankowski 7e514688b3
Convert `api/v2/search` controller spec to request spec (#28269) 1 year ago
Matt Jankowski 9742bccbe7
Add coverage for `api/v2/media` endpoint (#28027) 1 year ago
Matt Jankowski 32e19e3af6
Reduce `.times` usage in request and controller specs (#27949) 1 year ago
Matt Jankowski 876f5b1d12
Convert `/instances/*` controller specs to request specs (#27988)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski 09a2db3f6c
Move api/v2/filters spec to correct path location (#27950) 1 year ago
Matt Jankowski 949f5eb860
Fix `RSpec/MetadataStyle` cop in spec/ (#27729) 1 year ago
Daniel M Brasil 812a84ff5f
Migrate to request specs in `/api/v2/filters` (#25721) 1 year ago
Claire 94fbac77e7
Fix processing of media files with unusual names (#25788) 2 years ago