Fix tests by adding a default_options hash to the wiki

This commit is contained in:
kristi
2012-05-11 12:51:04 -07:00
parent ec694e4a99
commit f53e1a60d5
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -92,6 +92,7 @@ end
context "Wiki page previewing" do
setup do
@path = testpath("examples/lotr.git")
Gollum::Wiki.default_options = {:header_hashtags => false, :universal_toc => false}
@wiki = Gollum::Wiki.new(@path)
end