Some Tests

Some functional tests for 'delete orphaned pages by category'.
This commit is contained in:
Jacques Distler 2008-12-07 00:24:25 -06:00
parent 3a78ef3dbf
commit 34fcd7943a
3 changed files with 49 additions and 2 deletions

View file

@ -30,4 +30,10 @@ class NoWikiTest < Test::Unit::TestCase
)
end
def test_sanitize_nowiki_ill_formed_II
match(NoWiki, "<nowiki><animateColor xlink:href='#foo'/>\000</nowiki>",
:plain_text => %(&lt;animateColor xlink:href=&#39;#foo&#39;&gt;&lt;/animateColor&gt;\xEF\xBF\xBD)
)
end
end