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 -1
View File
@@ -228,11 +228,12 @@ context "within a sub-directory" do
assert page.footer.raw_data =~ /^Lord of the Rings/
end
if $METADATA
test "get metadata on page" do
page = @wiki.page('Elrond')
assert_equal Gollum::Page, page.class
assert_equal 'elf', page.metadata['race']
end
end
end