Commit Graph

778 Commits (543d7890fd818ed8871b0f8e6adbf19b605edf70)

Author SHA1 Message Date
Matt Jankowski 00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs ()
Claire 6ad0fb5a77
Fix NULL MX handling and tighten DNS resolving specs ()
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains ()
Claire a2624ff739
Convert signature verification specs to request specs ()
Matt Jankowski 513d35969e
Fix `RSpec/LetSetup` cop in auth controller specs ()
Matt Jankowski cd64a5b2ec
Clean up of `RSpec/LetSetup` within `api/` ()
Matt Jankowski f32d672d2f
Clean up of `RSpec/LetSetup` within `spec/controllers` ()
Claire 6fed0fcbaa
Remove unneeded settings cleanup from specs ()
Matt Jankowski b1dec09d20
Fix `Style/InverseMethods` cop ()
Matt Jankowski ef9797a395
Un-nest contexts in `settings/2fa/webauthn` spec ()
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 7e514688b3
Convert `api/v2/search` controller spec to request spec ()
Matt Jankowski cca19f5fbb
Use the `Admin::ActionLog` fabricator in admin/action_logs spec ()
Matt Jankowski 19ad51253d
Prevent triple-subject run in admin/domain_blocks spec ()
Matt Jankowski d848d8d87c
Add helper methods for domains allow and export blocks files ()
Matt Jankowski b751078fcd
Eliminate double subject call in admin/ controller specs ()
Matt Jankowski 1f1c75bba5
File cleanup/organization in `controllers/concerns` ()
Matt Jankowski 0530ce5e95
Convert accounts controller spec to request spec ()
Matt Jankowski e7c340a634
Spec coverage for missing `q` param and error conditions in `api/v2/search` controller ()
Matt Jankowski ce78a9c9ac
Clean up `two_factor_authentication/confirmations` controller spec ()
Filippo Giunchedi e6fd9a59e6
Fix FamiliarFollowersController test response comparison ()
Co-authored-by: Filippo Giunchedi <filippo@debian.org>
Matt Jankowski 291dc04e67
Remove un-needed `action` and `template` options to `render` in controllers ()
Kevin Bongart 7877fcd83c
Deduplicate IDs in relationships and familiar_followers APIs ()
Matt Jankowski 973597c6f1
Consolidate configuration of `Sidekiq::Testing.fake!` setup ()
Eugen Rochko cdc57c74b7
Fix unsupported time zone or locale preventing sign-up ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
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 f7cb64a184
Add coverage for `settings/privacy` controller ()
Matt Jankowski b2e8af8889
Add coverage for `settings/verifications` controller ()
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 ()
Claire 297839c10c
Rewrite `/api/v1/statuses` tests as request specs ()
Claire 9257737675
Rewrite `/api/v1/accounts` tests as request specs ()
Matt Jankowski c1f93def40
Reduce expectations for `RSpec/MultipleExpectations` cop in `controllers/statuses` spec ()
Matt Jankowski 3de9145613
Move controller specs for `well-known` endpoints to request specs ()
Matt Jankowski fe58ac8d9f
Improve spec coverage for `api/web/push_subscriptions` controller ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski b2c5b20ef2
Fix `RSpec/AnyInstance` cop ()