]> source.dussan.org Git - redmine.git/commitdiff
Test for striked through wiki link (#199).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 25 May 2008 13:30:54 +0000 (13:30 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 25 May 2008 13:30:54 +0000 (13:30 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1456 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/helpers/application_helper_test.rb

index 8bd74512496dad4071bf018100cab386c7e9d2c2..25559ebc1108c29614107de6d1d5f22872f005f6 100644 (file)
@@ -125,6 +125,8 @@ class ApplicationHelperTest < HelperTestCase
       '[[onlinestore:Start page]]' => '<a href="/wiki/onlinestore/Start_page" class="wiki-page">Start page</a>',
       '[[onlinestore:Start page|Text]]' => '<a href="/wiki/onlinestore/Start_page" class="wiki-page">Text</a>',
       '[[onlinestore:Unknown page]]' => '<a href="/wiki/onlinestore/Unknown_page" class="wiki-page new">Unknown page</a>',
+      # striked through link
+      '-[[Another page|Page]]-' => '<del><a href="/wiki/ecookbook/Another_page" class="wiki-page">Page</a></del>',
       # escaping
       '![[Another page|Page]]' => '[[Another page|Page]]',
     }