aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-11-09 21:27:58 +0100
committerXavier Noria <fxn@hashref.com>2009-11-09 22:16:51 +0100
commit004db18cb0f690486336f0fa141ad383c79f9558 (patch)
treebb5dc03ecc033863b53d635a99e78f11c41c1475 /activesupport/test
parentf8e713f488bba264ba73251b56ad56385b8ed824 (diff)
downloadrails-004db18cb0f690486336f0fa141ad383c79f9558.tar.gz
rails-004db18cb0f690486336f0fa141ad383c79f9558.tar.bz2
rails-004db18cb0f690486336f0fa141ad383c79f9558.zip
String#bytesize is not needed for Ruby >= 1.8.7
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/core_ext/string_ext_test.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/activesupport/test/core_ext/string_ext_test.rb b/activesupport/test/core_ext/string_ext_test.rb
index 584a41b631..0f988e78a4 100644
--- a/activesupport/test/core_ext/string_ext_test.rb
+++ b/activesupport/test/core_ext/string_ext_test.rb
@@ -350,13 +350,6 @@ class TestGetTextString < Test::Unit::TestCase
end
end
-class StringBytesizeTest < Test::Unit::TestCase
- def test_bytesize
- assert_respond_to 'foo', :bytesize
- assert_equal 3, 'foo'.bytesize
- end
-end
-
class OutputSafetyTest < ActiveSupport::TestCase
def setup
@string = "hello"