diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-25 11:12:27 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-25 11:12:27 -0800 |
commit | 763f32ab47b96289a4d7b7107411a83164bf69de (patch) | |
tree | 6c21a993853835a30c1df111f75df28f888ea040 /activesupport/test/core_ext | |
parent | ffc45f3e7128f0ef1efca0f39d4717447c15f5b8 (diff) | |
download | rails-763f32ab47b96289a4d7b7107411a83164bf69de.tar.gz rails-763f32ab47b96289a4d7b7107411a83164bf69de.tar.bz2 rails-763f32ab47b96289a4d7b7107411a83164bf69de.zip |
metaclass deprecated in 2.3.6
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r-- | activesupport/test/core_ext/object_and_class_ext_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activesupport/test/core_ext/object_and_class_ext_test.rb b/activesupport/test/core_ext/object_and_class_ext_test.rb index 00c59d84b8..437bb78a4e 100644 --- a/activesupport/test/core_ext/object_and_class_ext_test.rb +++ b/activesupport/test/core_ext/object_and_class_ext_test.rb @@ -123,13 +123,6 @@ class ObjectTests < ActiveSupport::TestCase o = Object.new assert_equal class << o; self end, o.singleton_class end - - def test_metaclass_deprecated - o = Object.new - assert_deprecated /use singleton_class instead/ do - assert_equal o.singleton_class, o.metaclass - end - end end class ObjectInstanceVariableTest < Test::Unit::TestCase |