Skip to content

Commit

Permalink
add test that shows the + 'problem', because accordingly to http://ww…
Browse files Browse the repository at this point in the history
…w.faqs.org/rfcs/rfc1738.html + is interpreter as a space in urls
  • Loading branch information
sarcilav committed Jun 22, 2011
1 parent 474e0ff commit ebe7b63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/string_extensions_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def test_convert_misc_characters
"100% of yr love" => "100 percent of yr love",
"Kisses are $3.25 each" => "Kisses are 3 dollars 25 cents each",
"That CD is £3.25 plus tax" => "That CD is 3 pounds 25 pence plus tax",
"This CD is ¥1000 instead" => "This CD is 1000 yen instead"
"This CD is ¥1000 instead" => "This CD is 1000 yen instead",
"Food+Drink" => "Food plus Drink"
}.each do |misc, plain|
assert_equal plain, misc.convert_misc_characters
end
Expand Down

0 comments on commit ebe7b63

Please sign in to comment.