test/unit/string_extensions_test.rb in stringex-2.0.8 vs test/unit/string_extensions_test.rb in stringex-2.0.9
- old
+ new
@@ -73,10 +73,16 @@
"Here are some {braces}" =>
"here-are-some-braces",
"$1,000" =>
"1000-dollars",
"«zut alors»" =>
- "zut-alors"
+ "zut-alors",
+ "Rabbits aren't real" =>
+ "rabbits-arent-real",
+ "R" =>
+ "r",
+ "R$ isn't R" =>
+ "reais-isnt-r"
}.each do |html, plain|
assert_equal plain, html.to_url
end
end