diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-01-03 00:16:47 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-01-03 00:16:47 +0000 |
commit | 3229b59495270a094d3a0f83814f1c3d5ebec7e3 (patch) | |
tree | ad9b887865595a990c9a4bfa4d9c5c4f4cdfd18e /activesupport/test/inflector_test_cases.rb | |
parent | f5aaf945b68feff5325a5977b832101955b64a54 (diff) | |
download | rails-3229b59495270a094d3a0f83814f1c3d5ebec7e3.tar.gz rails-3229b59495270a094d3a0f83814f1c3d5ebec7e3.tar.bz2 rails-3229b59495270a094d3a0f83814f1c3d5ebec7e3.zip |
Fixed String#titleize to work for strings with 's too (closes #10571) [trek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/inflector_test_cases.rb')
-rw-r--r-- | activesupport/test/inflector_test_cases.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/activesupport/test/inflector_test_cases.rb b/activesupport/test/inflector_test_cases.rb index 83fd4c8e56..a9dd83a389 100644 --- a/activesupport/test/inflector_test_cases.rb +++ b/activesupport/test/inflector_test_cases.rb @@ -155,7 +155,10 @@ module InflectorTestCases 'Action Web Service' => 'Action Web Service', 'Action web service' => 'Action Web Service', 'actionwebservice' => 'Actionwebservice', - 'Actionwebservice' => 'Actionwebservice' + 'Actionwebservice' => 'Actionwebservice', + "david's code" => "David's Code", + "David's code" => "David's Code", + "david's Code" => "David's Code" } OrdinalNumbers = { |