Merge pull request #19428 from bdmac/fix_safe_buffer_titleize

Fixes Inflector#titleize to work with SafeBuffer
This commit is contained in:
Rafael Mendonça França 2016-05-18 18:21:16 -03:00
commit 1a4deb9664
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948

@ -270,7 +270,8 @@ module InflectorTestCases
"maybe you'll be there" => "Maybe You'll Be There",
"¿por qué?" => '¿Por Qué?',
"Freds" => "Freds",
"Fred`s" => "Fred`s"
"Fred`s" => "Fred`s",
ActiveSupport::SafeBuffer.new("confirmation num") => "Confirmation Num"
}
OrdinalNumbers = {