From: Jean-Philippe Lang Date: Sat, 18 Dec 2010 17:21:57 +0000 (+0000) Subject: Adds tests for class attribute parsing on pre/code tags. X-Git-Tag: 1.1.0~62 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a7595ec19154427bf38812208ac8443c2dca5462;p=redmine.git Adds tests for class attribute parsing on pre/code tags. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4537 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 4835b340a..4610bee3c 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -279,6 +279,9 @@ RAW "
some text
" => "
some text
", '
some text
' => '
some text
', "
some text
" => "
some text
", + # xss + '
text
' => '
text
', + '
text
' => '
text
', } to_test.each { |text, result| assert_equal result, textilizable(text) } end