diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-10-27 11:50:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-10-27 11:50:23 +0000 |
commit | d143019dbbb4b94f3474365655bd18e736c5b0bc (patch) | |
tree | 7a735aa0568797f2357389a94f1bd96ac29993f8 /test | |
parent | a3b9a5aa5fe344cf33a47ccbf1d26a95fbe4e255 (diff) | |
download | redmine-d143019dbbb4b94f3474365655bd18e736c5b0bc.tar.gz redmine-d143019dbbb4b94f3474365655bd18e736c5b0bc.zip |
Adds back textile acronyms support (#2077).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1956 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/helpers/application_helper_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 13fa262f1..6e1356bee 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -219,6 +219,11 @@ class ApplicationHelperTest < HelperTestCase assert_equal '<p>Dashes: ---</p>', textilizable('Dashes: ---') end + def test_acronym + assert_equal '<p>This is an acronym: <acronym title="American Civil Liberties Union">ACLU</acronym>.</p>', + textilizable('This is an acronym: ACLU(American Civil Liberties Union).') + end + def test_footnotes raw = <<-RAW This is some text[1]. |