aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/deprecation_test.rb
diff options
context:
space:
mode:
authorBrandon Dunne <bdunne@redhat.com>2015-10-13 14:10:14 -0400
committerBrandon Dunne <bdunne@redhat.com>2015-10-14 07:49:39 -0400
commit6c98fbd9c3cc28ccbfc1b46a9ce3d58fdb19f3c8 (patch)
treec1cc494cb2b4a3c7fb62f275b84f8a6b0f96f468 /activesupport/test/deprecation_test.rb
parent31af8c90b60dc475fd80d2919bfb874b4acc4507 (diff)
downloadrails-6c98fbd9c3cc28ccbfc1b46a9ce3d58fdb19f3c8.tar.gz
rails-6c98fbd9c3cc28ccbfc1b46a9ce3d58fdb19f3c8.tar.bz2
rails-6c98fbd9c3cc28ccbfc1b46a9ce3d58fdb19f3c8.zip
Fix bug where custom deprecators are not used.
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"
Diffstat (limited to 'activesupport/test/deprecation_test.rb')
0 files changed, 0 insertions, 0 deletions