aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/deprecation
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-07-01 22:26:54 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-07-01 22:26:54 -0300
commitcad3a1308604c9892c4d1cd5d588d93ca1d43f4c (patch)
tree11fd994a83c7011132c3232cca6aa5cd389265e8 /activesupport/test/deprecation
parent4b97ce5eb16cc20207516387fba98bf577e2e281 (diff)
downloadrails-cad3a1308604c9892c4d1cd5d588d93ca1d43f4c.tar.gz
rails-cad3a1308604c9892c4d1cd5d588d93ca1d43f4c.tar.bz2
rails-cad3a1308604c9892c4d1cd5d588d93ca1d43f4c.zip
Remove deprecated AS::BasicObject, use AS::ProxyObject instead
Diffstat (limited to 'activesupport/test/deprecation')
-rw-r--r--activesupport/test/deprecation/basic_object_test.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/activesupport/test/deprecation/basic_object_test.rb b/activesupport/test/deprecation/basic_object_test.rb
deleted file mode 100644
index 4b5bed9eb1..0000000000
--- a/activesupport/test/deprecation/basic_object_test.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-require 'abstract_unit'
-require 'active_support/deprecation'
-require 'active_support/basic_object'
-
-
-class BasicObjectTest < ActiveSupport::TestCase
- test 'BasicObject warns about deprecation when inherited from' do
- warn = 'ActiveSupport::BasicObject is deprecated! Use ActiveSupport::ProxyObject instead.'
- ActiveSupport::Deprecation.expects(:warn).with(warn).once
- Class.new(ActiveSupport::BasicObject)
- end
-end \ No newline at end of file