Commit Graph

273 Commits (0a4a73f9a67d5dc80a66d192af2b89cac41563a1)

Author SHA1 Message Date
Matt Jankowski 0a4a73f9a6
Add coverage for `api/v1/domain_blocks/preview` endpoint ()
Matt Jankowski 28131b4b00
Convert status embed controller to request spec ()
Leni Kadali 4238da6ee3
Add error message when user tries to follow their own account ()
Matt Jankowski cc8d723e71
Register an XML encoder for response tests ()
Christian Schmidt 33d3ca7cf1
Support /.well-known/host-meta.json ()
David Roetzel e6cda8388c
Move OTP secret length to configuration ()
Matt Jankowski cdd7526531
Remove completed TODO note in tags request spec ()
Renaud Chaput 28966fa0a6
Remove deprecated `v2_alpha` endpoint for grouped notifications ()
Matt Jankowski 51777fe3e2
Prefer structure checks over multi-line size/parts checks in `parsed_body` ()
Matt Jankowski 5dfdec6453
Convert `settings/applications` controller spec to system/request specs ()
Matt Jankowski 2b4bda8004
Add `response_avatar_link` helper to webfinger request spec ()
Matt Jankowski 447d0a3e88
Remove double no-records cases in `api/v1/admin` req specs ()
Matt Jankowski 66ed7ea4b5
Move status creation to "with rss" context in accounts request spec ()
Matt Jankowski 0ba3ad4a35
Remove `body_json_ids` from api/v2/admin/accounts spec ()
Matt Jankowski e0b45b35c9
Combine repeated parsed_body assertions into single ()
Matt Jankowski d55f4fbda1
Add content type checks to api/v2 request specs ()
Matt Jankowski 171394e914
Add coverage for CSV responses for severed relationships ()
Matt Jankowski 66326065b0
Add `response.content_type` checks for JSON to `api/v1` request specs ()
Matt Jankowski 9a03902ab6
Capture actual behavior in v2/notifications "someone else" dismiss scenario ()
Matt Jankowski 5a8f2fe31d
Convert `settings/exports` controller spec to system/request specs ()
Matt Jankowski b071e618e7
Combine API request spec assertions ()
Matt Jankowski bf8eaaa9a5
Convert controller spec for security_key_options endpoint to request spec ()
Matt Jankowski eb16763bff
Use `have_http_link_header` matcher in `api/v1/trends/*` specs ()
Claire e0648a916a
Rename `/api/v2_alpha/notifications*` to `/api/v2/notifications*` ()
Claire a496aeabcb
Change form-action Content-Security-Policy directive to be more restrictive ()
Matt Jankowski 6b6a80b407
Remove `body_as_json` in favor of built-in `response.parsed_body` for JSON response specs ()
Matt Jankowski 7efe0bde9d
Add `have_http_link_header` matcher and set header values as strings ()
Matt Jankowski e820cc30b8
Convert invites controller spec to system/request specs ()
Matt Jankowski 4d5c91e99a
Remove `before` block in spec with TODOs which have been TO-DONE already ()
Matt Jankowski e1b5f3fc6f
Use `response.parsed_body` for html response checks ()
Claire 1fcffa573c
Fix 500 error in `GET /api/v2_alpha/notifications` when there are no notifications to return ()
Matt Jankowski f1003b2560
Enable "zero monkey patching" mode in RSpec ()
Matt Jankowski c9ea91f868
Add coverage for `api/v1/annual_reports` area ()
Matt Jankowski e1fa456c7c
Add `have_cacheable_headers` matcher for responses ()
Matt Jankowski 8922786ef4
Fix `RSpec/LetSetup` cop in api/v1/timelines/tag spec ()
Matt Jankowski ef4920c6c9
Pull out https/hostname setup for request specs to shared config ()
Claire ea0d691e19
Add `GET /api/v2_alpha/notifications/:group_key/accounts` ()
Matt Jankowski 219458d7d4
Convert `tags` controller spec to system and request specs ()
Matt Jankowski 24a0b20408
Use `body_as_json` directly instead of via local var assignment ()
Matt Jankowski 40f993b3a0
Use built-in `response.parsed_body` for JSON response specs ()
Claire ad0a28a8bf
Add `grouped_types` parameter to allow clients to restrict which notifications types get grouped ()
Matt Jankowski 02585d8789
Convert `media` controller spec to request spec ()
Matt Jankowski 00586d27cb
Convert `instance_actor` controller spec to request spec ()
Matt Jankowski 48f4e5444d
Convert `media_proxy` controller spec to request spec ()
Matt Jankowski a7f8417795
Convert "CSV export" settings controller specs to request specs ()
Matt Jankowski 38a3466741
Convert `api/oembed` controller spec to request spec ()
Matt Jankowski c09d232ee3
Convert `api/web/settings` controller spec to request spec ()
Matt Jankowski 14d7fe05d0
Use `describe` instead of `context` in top-level spec declaration ()
Matt Jankowski dbe0ee8a81
Convert `emojis` controller spec to request spec ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 5172d84946
Convert `manifest` controller spec to request spec ()