forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deprecator-only overload for assert_deprecated
This commits adds a deprecator-only overload for `assert_deprecated`. For example, `assert_deprecated(/./, deprecator)` can now be written as `assert_deprecated(deprecator)`. This is part of an initiative to move away from the top-level `ActiveSupport::Deprecation` API, towards per-library deprecator instances. See also rails#46000 and its follow-ups.
- Loading branch information
1 parent
8bdea35
commit 09e6442
Showing
3 changed files
with
37 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters