aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-06-25 06:05:11 -0700
committerXavier Noria <fxn@hashref.com>2011-06-25 06:05:11 -0700
commit211fa2d28d0f8a875792e078e1fca3718649de3c (patch)
tree1be9e43a3b7a609d0bfb408b7e382986f5691826
parent7e56bf724479ce92eff2f806573f382957f3a2b4 (diff)
parent4700e1fe6e36e0c60c9eff773891616e42507962 (diff)
downloadrails-211fa2d28d0f8a875792e078e1fca3718649de3c.tar.gz
rails-211fa2d28d0f8a875792e078e1fca3718649de3c.tar.bz2
rails-211fa2d28d0f8a875792e078e1fca3718649de3c.zip
Merge pull request #1853 from arunagw/string_parameterize
StringToParameterizeWithNoSeparator: dashed parameter will not change.
-rw-r--r--activesupport/test/inflector_test_cases.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/inflector_test_cases.rb b/activesupport/test/inflector_test_cases.rb
index 391e402645..0cb1f70657 100644
--- a/activesupport/test/inflector_test_cases.rb
+++ b/activesupport/test/inflector_test_cases.rb
@@ -168,7 +168,7 @@ module InflectorTestCases
StringToParameterizeWithNoSeparator = {
"Donald E. Knuth" => "donaldeknuth",
- "With-some-dashes" => "withsomedashes",
+ "With-some-dashes" => "with-some-dashes",
"Random text with *(bad)* characters" => "randomtextwithbadcharacters",
"Trailing bad characters!@#" => "trailingbadcharacters",
"!@#Leading bad characters" => "leadingbadcharacters",