diff options
author | Xavier Noria <fxn@hashref.com> | 2009-11-09 21:23:19 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2009-11-09 22:16:51 +0100 |
commit | f8e713f488bba264ba73251b56ad56385b8ed824 (patch) | |
tree | 6896e592230e2ad54daf1ff4115868d494638687 /activesupport/test | |
parent | 1979e9c8553f4d7905822fdcc99e52d179e78c3c (diff) | |
download | rails-f8e713f488bba264ba73251b56ad56385b8ed824.tar.gz rails-f8e713f488bba264ba73251b56ad56385b8ed824.tar.bz2 rails-f8e713f488bba264ba73251b56ad56385b8ed824.zip |
Object#tap is not needed for Ruby >= 1.8.7
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/object_ext_test.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/activesupport/test/core_ext/object_ext_test.rb b/activesupport/test/core_ext/object_ext_test.rb deleted file mode 100644 index 04c19ed2aa..0000000000 --- a/activesupport/test/core_ext/object_ext_test.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'abstract_unit' -require 'active_support/core_ext/object/metaclass' - -class ObjectExtTest < Test::Unit::TestCase - def test_tap_yields_and_returns_self - foo = Object.new - assert_equal foo, foo.tap { |x| assert_equal foo, x; :bar } - end -end |