normalize test output
This commit is contained in:
+1
-1
@@ -166,7 +166,7 @@ context "Markup" do
|
|||||||
@wiki.write_page("Potato", :markdown, "a [[Potato Heaad|Potato]] ", commit_details)
|
@wiki.write_page("Potato", :markdown, "a [[Potato Heaad|Potato]] ", commit_details)
|
||||||
page = @wiki.page("Potato")
|
page = @wiki.page("Potato")
|
||||||
output = page.formatted_data
|
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
|
end
|
||||||
|
|
||||||
test "page link with different text on mediawiki" do
|
test "page link with different text on mediawiki" do
|
||||||
|
|||||||
Reference in New Issue
Block a user