1.8.7 fixes

This commit is contained in:
Henrik
2012-09-05 00:51:28 +02:00
committed by bootstraponline
parent 749b5a5ff8
commit d406472882
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ class WikiFactory
path = testpath "examples/test.git"
Grit::Repo.init_bare(path)
Gollum::Wiki.default_options = {:universal_toc => false}
cleanup = lambda { FileUtils.rm_r File.join(File.dirname(__FILE__), *%w[examples test.git]) }
cleanup = Proc.new { FileUtils.rm_r File.join(File.dirname(__FILE__), *%w[examples test.git]) }
wiki = Gollum::Wiki.new(path)
return wiki, path, cleanup
end