aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorNorman Clarke <norman@njclarke.com>2012-01-05 16:26:24 -0300
committerNorman Clarke <norman@njclarke.com>2012-01-05 16:26:24 -0300
commitb81bef531c9ebe08d39a4859b01824b390866675 (patch)
tree3917af524cbe1e9435d608023ae3b70e448207fd /activesupport/test
parent46579340c0847c433c0f9c3f46c79cd4521d9234 (diff)
downloadrails-b81bef531c9ebe08d39a4859b01824b390866675.tar.gz
rails-b81bef531c9ebe08d39a4859b01824b390866675.tar.bz2
rails-b81bef531c9ebe08d39a4859b01824b390866675.zip
Just use Ruby's String#[]=
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/multibyte_chars_test.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activesupport/test/multibyte_chars_test.rb b/activesupport/test/multibyte_chars_test.rb
index f25e062873..0c6b03f15f 100644
--- a/activesupport/test/multibyte_chars_test.rb
+++ b/activesupport/test/multibyte_chars_test.rb
@@ -117,11 +117,6 @@ class MultibyteCharsUTF8BehaviourTest < Test::Unit::TestCase
end
end
- def test_indexed_insert_accepts_fixnums
- @chars[2] = 32
- assert_equal 'こに わ', @chars
- end
-
%w{capitalize downcase lstrip reverse rstrip upcase}.each do |method|
class_eval(<<-EOTESTS)
def test_#{method}_bang_should_return_self_when_modifying_wrapped_string