Skip to content
Browse files

Test that DeprecatedConstantProxy does not warn when accessing its class

  • Loading branch information...
1 parent 4c5c98d commit ce0f977ae94305f9df332b7ff5e7859f3d489ebc @amatsuda amatsuda committed Jan 23, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 activesupport/test/deprecation_test.rb
View
1 activesupport/test/deprecation_test.rb
@@ -144,6 +144,7 @@ def test_deprecated_instance_variable_proxy_shouldnt_warn_on_inspect
def test_deprecated_constant_proxy
assert_not_deprecated { Deprecatee::B::C }
assert_deprecated('Deprecatee::A') { assert_equal Deprecatee::B::C, Deprecatee::A }
+ assert_not_deprecated { assert_equal Deprecatee::B::C.class, Deprecatee::A.class }
end
def test_assert_deprecation_without_match

0 comments on commit ce0f977

Please sign in to comment.
Something went wrong with that request. Please try again.