aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/deprecation_test.rb
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-05-13 10:39:45 +0100
committerPratik Naik <pratiknaik@gmail.com>2008-05-13 10:39:45 +0100
commit2270371f5dbabdd25ffcc59389249a795ba324a1 (patch)
tree2f03fe4fbc3b6128e918a3f1ed62efc40088452d /activesupport/test/deprecation_test.rb
parent593e21d6aedcc05d744be4996bd7180edce57efe (diff)
downloadrails-2270371f5dbabdd25ffcc59389249a795ba324a1.tar.gz
rails-2270371f5dbabdd25ffcc59389249a795ba324a1.tar.bz2
rails-2270371f5dbabdd25ffcc59389249a795ba324a1.zip
Remove unnecessary DeprecatedInstanceVariable class
Diffstat (limited to 'activesupport/test/deprecation_test.rb')
-rw-r--r--activesupport/test/deprecation_test.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/activesupport/test/deprecation_test.rb b/activesupport/test/deprecation_test.rb
index 11357e250f..ebfa405947 100644
--- a/activesupport/test/deprecation_test.rb
+++ b/activesupport/test/deprecation_test.rb
@@ -149,13 +149,3 @@ class DeprecationTest < Test::Unit::TestCase
assert_nil @last_message
end
end
-
-class DeprecatedIvarTest < Test::Unit::TestCase
-
- def test_deprecated_ivar
- @action = ActiveSupport::Deprecation::DeprecatedInstanceVariable.new("fubar", :foobar)
-
- assert_deprecated(/Instance variable @foobar is deprecated! Call instance method foobar instead/) { assert_equal "fubar", @action }
- end
-
-end