Commit Graph

143 Commits (6b6586f5d099a9089c8bf9dc7d7406a86c0a48eb)

Author SHA1 Message Date
Matt Jankowski 7ecf7f5403
Move controller->request specs for api/v1/statuses/* ()
Matt Jankowski 329911b0a3
Migrate controller->request spec for api/v1/follow* ()
Matt Jankowski 0b853678a4
Add coverage for `api/v1/peers/search` endpoint and extract controller query to Instance scope ()
Matt Jankowski e72676e83a
Improve `api/v1/markers#create` performance against simultaneous requests ()
Matt Jankowski 7801db7ba4
Spec coverage for custom css endpoint ()
Matt Jankowski 2954279e9c
Remove double subject call in `api/v1/admin/trends/links/links` spec ()
Matt Jankowski 95bd46d32a
Remove double subject call in `api/v1/admin/ip_blocks` spec ()
Matt Jankowski 00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs ()
Claire 092bb8a27a
Fix Mastodon not correctly processing HTTP Signatures with query strings ()
Claire bd415af9a1
Change streaming API host to not be overridden to localhost in development mode ()
Claire a2624ff739
Convert signature verification specs to request specs ()
Claire 6fed0fcbaa
Remove unneeded settings cleanup from specs ()
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski c28976d89e
Handle negative offset param in `api/v2/search` ()
Matt Jankowski 1820bad646
Fix `Performance/StringIdentifierArgument` cop ()
Matt Jankowski adbfd40a1b
Convert `api/v1/directories` controller spec to request spec ()
Matt Jankowski 28e1a7a394
Improve spec coverage for `models/announcement` class ()
Matt Jankowski 0e4233de9d
Controller spec to request spec: `api/v2/suggestions` ()
Matt Jankowski 0c64092500
Controller spec to request spec: `api/v1/accounts/search` ()
Matt Jankowski 16ede59d0a
Controller spec to request spec: `api/v1/featured_tags/suggestions` ()
Matt Jankowski 809506bdd4
Controller spec to request spec: `api/v1/accounts/pins` ()
Matt Jankowski 94cc707ab3
Controller spec to request spec: `api/v1/accounts/notes` ()
Matt Jankowski e544b6df42
Controller spec to request spec: `api/v1/accounts/lookup` ()
Matt Jankowski a968898dc7
Controller spec to request spec: `api/v1/accounts/lists` ()
Matt Jankowski 8f94502e7d
Controller spec to request spec: `api/v1/accounts/identify_proofs` ()
Matt Jankowski 78347d2556
Controller spec to request spec: `api/v1/accounts/familiar_followers` ()
Matt Jankowski 11d2bd9716
Fix intermittent failure from unspecified order in `api/v1/accounts/relationships` spec ()
Matt Jankowski 7e514688b3
Convert `api/v2/search` controller spec to request spec ()
Matt Jankowski 71e5a16eba
Remove triple subject call in `api/v1/lists` spec ()
Matt Jankowski cca19f5fbb
Use the `Admin::ActionLog` fabricator in admin/action_logs spec ()
Matt Jankowski 0530ce5e95
Convert accounts controller spec to request spec ()
Claire 85662a5a57
Change `img-src` and `media-src` CSP directives to not include `https:` ()
Kevin Bongart 7877fcd83c
Deduplicate IDs in relationships and familiar_followers APIs ()
Matt Jankowski 973597c6f1
Consolidate configuration of `Sidekiq::Testing.fake!` setup ()
Matt Jankowski 9742bccbe7
Add coverage for `api/v2/media` endpoint ()
Matt Jankowski 30ee4aaff4
Convert measurement `api/v1/admin/*` controller specs to request specs ()
Matt Jankowski 32e19e3af6
Reduce `.times` usage in request and controller specs ()
Matt Jankowski a6d446e6a7
Add coverage for `remote_interaction_helper` ()
Matt Jankowski 876f5b1d12
Convert `/instances/*` controller specs to request specs ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 718c95e7af
Convert `api/v1/custom_emojis` controller spec to request spec ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 17582d36d5
Convert `api/v1/preferences` controller spec to request spec ()
Matt Jankowski 9a01a260a0
Convert `api/v1/scheduled_statuses` controller spec to request spec ()
Matt Jankowski b9fb47aeb1
Convert `api/v1/endorsements` controller spec to request spec ()
Matt Jankowski 09a2db3f6c
Move api/v2/filters spec to correct path location ()
Claire 297839c10c
Rewrite `/api/v1/statuses` tests as request specs ()
Claire 9257737675
Rewrite `/api/v1/accounts` tests as request specs ()
Matt Jankowski 549e8e7baf
Add `email_spec` and speedup/cleanup to `spec/mailers` ()
Matt Jankowski 3f0c1566c3
Reduce expectations for `RSpec/MultipleExpectations` cop in `api/v1/accounts/relationships` spec ()
Matt Jankowski 3de9145613
Move controller specs for `well-known` endpoints to request specs ()
Matt Jankowski 12a5b7391d
Add spec for well known change password endpoint ()