normalize test output

This commit is contained in:
risk
2011-08-08 15:26:27 -07:00
parent 6f15fafc4a
commit 20e4ca6a56
+1 -1
View File
@@ -166,7 +166,7 @@ context "Markup" do
@wiki.write_page("Potato", :markdown, "a [[Potato Heaad|Potato]] ", commit_details)
page = @wiki.page("Potato")
output = page.formatted_data
assert_equal "<p>a <a class=\"internal present\" href=\"/Potato\">Potato Heaad</a></p>", output
assert_equal "<p>a<aclass=\"internalpresent\"href=\"/Potato\">PotatoHeaad</a></p>", normal(output)
end
test "page link with different text on mediawiki" do