From: Jean-Philippe Lang Date: Tue, 7 Apr 2009 17:38:52 +0000 (+0000) Subject: Add test for r2664 (#3127). X-Git-Tag: 0.9.0~528 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a6acc7790406974d8a99849bd0d476f43b5b0105;p=redmine.git Add test for r2664 (#3127). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2665 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index c1b30c5f0..a8b7edea5 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -107,7 +107,9 @@ class ApplicationHelperTest < HelperTestCase '"link (Link title with "double-quotes")":http://foo.bar' => 'link', "This is not a \"Link\":\n\nAnother paragraph" => "This is not a \"Link\":

\n\n\n\t

Another paragraph", # no multiline link text - "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
\nand another on a second line\":test" + "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
\nand another on a second line\":test", + # mailto link + "\"system administrator\":mailto:sysadmin@example.com?subject=redmine%20permissions" => "system administrator", } to_test.each { |text, result| assert_equal "

#{result}

", textilizable(text) } end