diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-05-18 18:21:16 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-05-18 18:21:16 -0300 |
commit | 1a4deb9664bbb9f69a8fd73d6da3ac0e8c4405b6 (patch) | |
tree | 65634f91291182a594f6a853d4ffb47897fbd985 /activesupport/test | |
parent | a96cf951b270c968a40e7106d2e128069d0a941e (diff) | |
parent | 792f625bec5b6c1ab2629e0a6c353df8cc70920e (diff) | |
download | rails-1a4deb9664bbb9f69a8fd73d6da3ac0e8c4405b6.tar.gz rails-1a4deb9664bbb9f69a8fd73d6da3ac0e8c4405b6.tar.bz2 rails-1a4deb9664bbb9f69a8fd73d6da3ac0e8c4405b6.zip |
Merge pull request #19428 from bdmac/fix_safe_buffer_titleize
Fixes Inflector#titleize to work with SafeBuffer
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/inflector_test_cases.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/test/inflector_test_cases.rb b/activesupport/test/inflector_test_cases.rb index 14fe97a986..c7dc1dadb6 100644 --- a/activesupport/test/inflector_test_cases.rb +++ b/activesupport/test/inflector_test_cases.rb @@ -270,7 +270,8 @@ module InflectorTestCases "maybe you'll be there" => "Maybe You'll Be There", "¿por qué?" => '¿Por Qué?', "Fred’s" => "Fred’s", - "Fred`s" => "Fred`s" + "Fred`s" => "Fred`s", + ActiveSupport::SafeBuffer.new("confirmation num") => "Confirmation Num" } OrdinalNumbers = { |