diff options
author | Xavier Noria <fxn@hashref.com> | 2010-01-26 23:01:51 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-01-26 23:01:51 +0100 |
commit | ccec730d7f2ccf5e44d3ac2b4b05c7c57af1cfb4 (patch) | |
tree | 9fedfb0922c8627c988253852828539247b8ff9a /activesupport/test/core_ext | |
parent | 7d312e54bad9c39634c137caec07dfc8df471650 (diff) | |
download | rails-ccec730d7f2ccf5e44d3ac2b4b05c7c57af1cfb4.tar.gz rails-ccec730d7f2ccf5e44d3ac2b4b05c7c57af1cfb4.tar.bz2 rails-ccec730d7f2ccf5e44d3ac2b4b05c7c57af1cfb4.zip |
removes unused method Object#extend_with_included_modules_from
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r-- | activesupport/test/core_ext/object_and_class_ext_test.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/activesupport/test/core_ext/object_and_class_ext_test.rb b/activesupport/test/core_ext/object_and_class_ext_test.rb index 33a321db36..7046d0e3f4 100644 --- a/activesupport/test/core_ext/object_and_class_ext_test.rb +++ b/activesupport/test/core_ext/object_and_class_ext_test.rb @@ -47,21 +47,6 @@ class ObjectTests < Test::Unit::TestCase assert(([Bar, Baz] - foo.extended_by).empty?, "Expected Bar, Baz in #{foo.extended_by.inspect}") end - def test_extend_with_included_modules_from - foo, object = Foo.new, Object.new - assert !object.respond_to?(:bar) - assert !object.respond_to?(:baz) - - object.extend_with_included_modules_from(foo) - assert object.respond_to?(:bar) - assert !object.respond_to?(:baz) - - foo.extend(Baz) - object.extend_with_included_modules_from(foo) - assert object.respond_to?(:bar) - assert object.respond_to?(:baz) - end - class DuckTime def acts_like_time? true |