1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

View file

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