Commit Graph

35 Commits (0a599d08d8c1d10d3784b3700ebd27efe9e6a468)

Author SHA1 Message Date
Matt Jankowski 447d0a3e88
Remove double no-records cases in `api/v1/admin` req specs (#32014) 4 months ago
Matt Jankowski e0b45b35c9
Combine repeated parsed_body assertions into single (#32002) 4 months ago
Matt Jankowski 66326065b0
Add `response.content_type` checks for JSON to `api/v1` request specs (#31981) 4 months ago
Matt Jankowski b071e618e7
Combine API request spec assertions (#31970) 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
Matt Jankowski f1300ad284
Rename jobs/attachments rspec tag names (#29762) 6 months ago
Claire 58ace2e45e
Fix SQL error in admin measures API (#30753) 7 months ago
Matt Jankowski b2496177e0
Use correct params in `v1/admin/domain_allows` spec (#30378) 7 months ago
Matt Jankowski 07cc94e05f
Use `sidekiq_inline` in requests/api/v1/admin/account_actions spec (#30563) 7 months ago
Claire 253ead3aa7
Fix not being able to block a subdomain of an already-blocked domain through the API (#30119) 9 months ago
Matt Jankowski 18945f62e0
Convert more API specs from controller->request style (#29004) 11 months ago
Emelia Smith 4fb7f611de
Return domain block digests from admin domain blocks API (#29092) 11 months ago
Matt Jankowski 4cf07ed78c
Add missing action logging to `api/v1/admin/reports#update` (#29044) 11 months ago
Matt Jankowski 5119fbc9b7
Move `api/v1/admin/trends/links/preview_card_providers` to request spec (#28951) 12 months ago
Matt Jankowski 2954279e9c
Remove double subject call in `api/v1/admin/trends/links/links` spec (#28695) 1 year ago
Matt Jankowski 95bd46d32a
Remove double subject call in `api/v1/admin/ip_blocks` spec (#28696) 1 year ago
Matt Jankowski cca19f5fbb
Use the `Admin::ActionLog` fabricator in admin/action_logs spec (#28194) 1 year ago
Matt Jankowski 30ee4aaff4
Convert measurement `api/v1/admin/*` controller specs to request specs (#28005) 1 year ago
Matt Jankowski 32e19e3af6
Reduce `.times` usage in request and controller specs (#27949) 1 year ago
Matt Jankowski 549e8e7baf
Add `email_spec` and speedup/cleanup to `spec/mailers` (#27902) 1 year ago
Daniel M Brasil d9caa6ed24
Migrate to request specs in `/api/v1/admin/accounts` (#25563) 1 year ago
Daniel M Brasil 82beeb2f7e
Migrate to request specs in `/api/v1/admin/trends/links` (#25739) 1 year ago
Matt Jankowski fd9dea21d0
DB speedup in `API::` controller/request specs (#25516) 1 year ago
Robert R George 20666482ef
Added admin api for managing tags (#26872) 1 year ago
Daniel M Brasil e53eb38a8d
Migrate to request specs in `/api/v1/admin/account_actions` (#25514) 2 years ago
Matt Jankowski 4c5f62de99
Extract shared examples from api specs (#25387) 2 years ago
Daniel M Brasil 99216e34e5
Migrate to request specs in `/api/v1/admin/canonical_email_blocks` (#25330) 2 years ago
Daniel M Brasil b4e19f9610
Migrate to request specs in `/api/v1/admin/ip_blocks` (#25331) 2 years ago
Daniel M Brasil 4301d8cbb3
Migrate to request specs in `/api/v1/admin/domain_allows` (#25333) 2 years ago
Daniel M Brasil 841c220c40
Migrate to request specs in `/api/v1/admin/domain_blocks` (#25335) 2 years ago
Daniel M Brasil 0e200d4e2f
Migrate to request specs in `/api/v1/admin/reports` (#25355) 2 years ago
Daniel M Brasil 4aff1d2974
Migrate to request specs in `/api/v1/admin/email_domain_blocks` (#25337) 2 years ago