diff options
author | Xavier Noria <fxn@hashref.com> | 2010-02-07 23:06:15 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-02-07 23:06:15 +0100 |
commit | cf9a52a7b6a4cb28709f116b306e06395b40b752 (patch) | |
tree | 8182c2010cfff8eaa4e5fbc5bc3ecd61c3bd770c /activesupport/test | |
parent | afd2e19be3b74effa3fdb9c4affd48f0aaede838 (diff) | |
download | rails-cf9a52a7b6a4cb28709f116b306e06395b40b752.tar.gz rails-cf9a52a7b6a4cb28709f116b306e06395b40b752.tar.bz2 rails-cf9a52a7b6a4cb28709f116b306e06395b40b752.zip |
removes Module#as_load_path, which is no longer used
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/module_test.rb | 5 | ||||
-rw-r--r-- | activesupport/test/dependencies_test.rb | 5 |
2 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 23016fd329..1fe75d5930 100644 --- a/activesupport/test/core_ext/module_test.rb +++ b/activesupport/test/core_ext/module_test.rb @@ -163,11 +163,6 @@ class ModuleTest < Test::Unit::TestCase def test_local_constants assert_equal %w(Constant1 Constant3), Ab.local_constants.sort.map(&:to_s) end - - def test_as_load_path - assert_equal 'yz/zy', Yz::Zy.as_load_path - assert_equal 'yz', Yz.as_load_path - end end module BarMethodAliaser diff --git a/activesupport/test/dependencies_test.rb b/activesupport/test/dependencies_test.rb index 0fcf1eaf00..f782313411 100644 --- a/activesupport/test/dependencies_test.rb +++ b/activesupport/test/dependencies_test.rb @@ -1,7 +1,6 @@ require 'abstract_unit' require 'pp' require 'active_support/dependencies' -require 'active_support/core_ext/module/loading' require 'active_support/core_ext/kernel/reporting' module ModuleWithMissing @@ -130,10 +129,6 @@ class DependenciesTest < Test::Unit::TestCase end end - def test_as_load_path - assert_equal '', DependenciesTest.as_load_path - end - def test_module_loading with_autoloading_fixtures do assert_kind_of Module, A |