diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-06 13:29:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-06 13:29:23 +0000 |
commit | f79a6f701a6bd0ef086fbdb40c2bb7622f048afc (patch) | |
tree | 10c90be86742a87bd9b84dd1227ff06e17b8be07 /test/unit/helpers/application_helper_test.rb | |
parent | 338e407a9119b625beff8e12b320ccddd295dad9 (diff) | |
download | redmine-f79a6f701a6bd0ef086fbdb40c2bb7622f048afc.tar.gz redmine-f79a6f701a6bd0ef086fbdb40c2bb7622f048afc.zip |
Makes textile formatter accept 2 letters acronym (#6591).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4374 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/helpers/application_helper_test.rb')
-rw-r--r-- | test/unit/helpers/application_helper_test.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 282a4cced..52bb13298 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -116,15 +116,6 @@ RAW assert textilizable(raw).include?('<img src="bar.gif" alt="" />') end - def test_acronyms - to_test = { - 'this is an acronym: GPL(General Public License)' => 'this is an acronym: <acronym title="General Public License">GPL</acronym>', - 'GPL(This is a double-quoted "title")' => '<acronym title="This is a double-quoted "title"">GPL</acronym>', - } - to_test.each { |text, result| assert_equal "<p>#{result}</p>", textilizable(text) } - - end - def test_attached_images to_test = { 'Inline image: !logo.gif!' => 'Inline image: <img src="/attachments/download/3" title="This is a logo" alt="This is a logo" />', @@ -401,11 +392,6 @@ EXPECTED 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]. |