Fix metadata tests

This commit is contained in:
bootstraponline
2013-01-08 17:09:21 -05:00
parent 1c7a481ed9
commit 78e4dfbece
4 changed files with 9 additions and 3 deletions
+2
View File
@@ -198,6 +198,7 @@ context "Wiki page writing" do
assert_equal cd[:email], @wiki.repo.commits.first.author.email
end
if $METADATA
test "page title override with metadata" do
@wiki.write_page("Gollum", :markdown, "<!-- --- title: Over -->", commit_details)
@@ -205,6 +206,7 @@ context "Wiki page writing" do
assert_equal 'Over', page.url_path_title
end
end
test "update page with format change" do
@wiki.write_page("Gollum", :markdown, "# Gollum", commit_details)