Footers should have a nil #footer.

This commit is contained in:
Tom Preston-Werner
2010-07-26 16:48:52 -07:00
parent 2bc9b2ec86
commit afcaacbdf6
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -92,4 +92,9 @@ context "Page" do
assert_equal "Ones does not simply **walk** into Mordor!\n", footer.raw_data
assert_equal "Mordor/_Footer.md", footer.path
end
test "footer itself" do
footer = @wiki.page("_Footer")
assert_nil footer.footer
end
end