##// END OF EJS Templates
Add test for r2664 (#3127)....
Jean-Philippe Lang -
r2573:a6acc7790406
parent child
Show More
@@ -107,7 +107,9 class ApplicationHelperTest < HelperTestCase
107 107 '"link (Link title with "double-quotes")":http://foo.bar' => '<a href="http://foo.bar" title="Link title with &quot;double-quotes&quot;" class="external">link</a>',
108 108 "This is not a \"Link\":\n\nAnother paragraph" => "This is not a \"Link\":</p>\n\n\n\t<p>Another paragraph",
109 109 # no multiline link text
110 "This is a double quote \"on the first line\nand another on a second line\":test" => "This is a double quote \"on the first line<br />\nand another on a second line\":test"
110 "This is a double quote \"on the first line\nand another on a second line\":test" => "This is a double quote \"on the first line<br />\nand another on a second line\":test",
111 # mailto link
112 "\"system administrator\":mailto:sysadmin@example.com?subject=redmine%20permissions" => "<a href=\"mailto:sysadmin@example.com?subject=redmine%20permissions\">system administrator</a>",
111 113 }
112 114 to_test.each { |text, result| assert_equal "<p>#{result}</p>", textilizable(text) }
113 115 end
General Comments 0
You need to be logged in to leave comments. Login now