aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2016-11-13 22:28:18 +0000
committerAndrew White <andrew.white@unboxed.co>2016-11-13 22:28:18 +0000
commitc32ccd837ee37272b5b7abee6afec40cb45491ed (patch)
tree9a291e1b815166a4db9e4fe2d53576aee6dcd201 /activesupport/test
parentc9458c74e0933fa9925b700f72dd14000f73766f (diff)
downloadrails-c32ccd837ee37272b5b7abee6afec40cb45491ed.tar.gz
rails-c32ccd837ee37272b5b7abee6afec40cb45491ed.tar.bz2
rails-c32ccd837ee37272b5b7abee6afec40cb45491ed.zip
Remove deprecated local_constants
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/core_ext/module_test.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/activesupport/test/core_ext/module_test.rb b/activesupport/test/core_ext/module_test.rb
index e1e5236e65..121f744a3c 100644
--- a/activesupport/test/core_ext/module_test.rb
+++ b/activesupport/test/core_ext/module_test.rb
@@ -385,16 +385,6 @@ class ModuleTest < ActiveSupport::TestCase
assert_equal [Yz::Zy, Yz, Object], Yz::Zy::Cd.parents
assert_equal [Yz, Object], Yz::Zy.parents
end
-
- def test_local_constants
- ActiveSupport::Deprecation.silence do
- assert_equal %w(Constant1 Constant3), Ab.local_constants.sort.map(&:to_s)
- end
- end
-
- def test_local_constants_is_deprecated
- assert_deprecated { Ab.local_constants.sort.map(&:to_s) }
- end
end
module BarMethodAliaser