summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-10-26 07:15:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-10-26 07:15:08 +0000
commit3578cf4d9a53e9fcb77ac40f70ed2cc535794777 (patch)
treeebd5dc16bf02b1e2b93f8eef25a94eed4db40f5f /test
parentec5dbdb0bde1624275d38090104395953bdcb5fd (diff)
downloadredmine-3578cf4d9a53e9fcb77ac40f70ed2cc535794777.tar.gz
redmine-3578cf4d9a53e9fcb77ac40f70ed2cc535794777.zip
Replaced acronym with abbr tags (#15191).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12235 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
index 324cea1e6..33b5f0985 100644
--- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
@@ -159,11 +159,11 @@ EXPECTED
)
end
- def test_acronyms
+ def test_abbreviations
assert_html_output(
- 'this is an acronym: GPL(General Public License)' => 'this is an acronym: <acronym title="General Public License">GPL</acronym>',
- '2 letters JP(Jean-Philippe) acronym' => '2 letters <acronym title="Jean-Philippe">JP</acronym> acronym',
- 'GPL(This is a double-quoted "title")' => '<acronym title="This is a double-quoted &quot;title&quot;">GPL</acronym>'
+ 'this is an abbreviation: GPL(General Public License)' => 'this is an abbreviation: <abbr title="General Public License">GPL</abbr>',
+ '2 letters JP(Jean-Philippe) abbreviation' => '2 letters <abbr title="Jean-Philippe">JP</abbr> abbreviation',
+ 'GPL(This is a double-quoted "title")' => '<abbr title="This is a double-quoted &quot;title&quot;">GPL</abbr>'
)
end