diff options
author | Akira Matsuda <ronnie@dio.jp> | 2014-08-13 19:08:50 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2014-08-13 21:25:11 +0900 |
commit | fe873dfae2882ad8ae20100af497b9e87202070c (patch) | |
tree | e9d5785a18fe6985b2c95545f4103d6de9cef107 /activesupport | |
parent | bc116a55ca3dd9f63a1f1ca7ade3623885adcc57 (diff) | |
download | rails-fe873dfae2882ad8ae20100af497b9e87202070c.tar.gz rails-fe873dfae2882ad8ae20100af497b9e87202070c.tar.bz2 rails-fe873dfae2882ad8ae20100af497b9e87202070c.zip |
Duplicated method in the test helper
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/dependencies_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activesupport/test/dependencies_test.rb b/activesupport/test/dependencies_test.rb index a013aadd67..03e79fa25e 100644 --- a/activesupport/test/dependencies_test.rb +++ b/activesupport/test/dependencies_test.rb @@ -990,11 +990,4 @@ class DependenciesTest < ActiveSupport::TestCase ensure ActiveSupport::Dependencies.hook! end - -private - def remove_constants(*constants) - constants.each do |constant| - Object.send(:remove_const, constant) if Object.const_defined?(constant) - end - end end |