Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix bug where custom deprecators are not used. | Brandon Dunne | 2015-10-14 | 1 | -8/+9 |
| | | | | | | | | | | | | Add tests for ActiveSupport::Deprecation.deprecate_methods Modify ActiveSupport::Testing::Deprecation to allow a custom deprecator Leverage ActiveSupport::Testing::Deprecation assert_deprecated Update documentation for ActiveSupport::Deprecation.deprecate_methods Use cases: Using the default deprecator => "removed from Rails X.Y" Passing a custom deprecator in the options hash => "removed from MyGem next-release" Deprecating methods directly from custom deprecator => "removed from MyGem next-release" | ||||
* | make `collect_deprecations` available. | Yves Senn | 2013-12-10 | 1 | -11/+10 |
| | | | | | | | | | | There are circumstances where the capabilities of `assert_deprecated` and `assert_not_deprecated` are not enough. For example if a ccertain call-path raises two deprecations but should only raise a single one. This module is still :nodoc and intented for internal use. /cc @rafaelfranca | ||||
* | Remove more references to Test::Unit | Rafael Mendonça França | 2012-01-06 | 1 | -19/+0 |
| | |||||
* | Opt in to Dependencies | Jeremy Kemper | 2009-04-22 | 1 | -9/+9 |
| | |||||
* | Move deprecation assertions so TestCase (and Mocha) needn't load on startup | Jeremy Kemper | 2008-11-23 | 1 | -0/+55 |