diff options
author | Go MAEDA <maeda@farend.jp> | 2018-03-02 04:58:52 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-03-02 04:58:52 +0000 |
commit | e9fb90856ff886d039a38b6ca9e8d03be2971154 (patch) | |
tree | f902b53163c72552c8e7334a809a1df6e04d15df /test/helpers/application_helper_test.rb | |
parent | 8d033d08d0e7ec6a9631a35dc25027fe16adb131 (diff) | |
download | redmine-e9fb90856ff886d039a38b6ca9e8d03be2971154.tar.gz redmine-e9fb90856ff886d039a38b6ca9e8d03be2971154.zip |
Move textile footnotes test to TextileFormatterTest (#28207).
Patch by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@17222 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/helpers/application_helper_test.rb')
-rw-r--r-- | test/helpers/application_helper_test.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 17d4a14c2..81b3f7859 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -1048,21 +1048,6 @@ EXPECTED assert_equal '<p>Dashes: ---</p>', textilizable('Dashes: ---') end - def test_footnotes - raw = <<-RAW -This is some text[1]. - -fn1. This is the foot note -RAW - - expected = <<-EXPECTED -<p>This is some text<sup><a href=\"#fn1\">1</a></sup>.</p> -<p id="fn1" class="footnote"><sup>1</sup> This is the foot note</p> -EXPECTED - - assert_equal expected.gsub(%r{[\r\n\t]}, ''), textilizable(raw).gsub(%r{[\r\n\t]}, '') - end - def test_headings raw = 'h1. Some heading' expected = %|<a name="Some-heading"></a>\n<h1 >Some heading<a href="#Some-heading" class="wiki-anchor">¶</a></h1>| |