diff options
author | Xavier Noria <fxn@hashref.com> | 2009-11-09 21:27:58 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2009-11-09 22:16:51 +0100 |
commit | 004db18cb0f690486336f0fa141ad383c79f9558 (patch) | |
tree | bb5dc03ecc033863b53d635a99e78f11c41c1475 /activesupport/test | |
parent | f8e713f488bba264ba73251b56ad56385b8ed824 (diff) | |
download | rails-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.rb | 7 |
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" |