From 2d886fd38adeb37fb44a732fbfc91c6007cc5c9c Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Fri, 16 Nov 2012 18:13:38 -0700 Subject: [PATCH] Fix tests #587 --- test/wiki_factory.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/wiki_factory.rb b/test/wiki_factory.rb index e6536f28..0fd7df4f 100644 --- a/test/wiki_factory.rb +++ b/test/wiki_factory.rb @@ -5,6 +5,8 @@ class WikiFactory Gollum::Wiki.default_options = {:universal_toc => false} cleanup = Proc.new { FileUtils.rm_r File.join(File.dirname(__FILE__), *%w[examples test.git]) } wiki = Gollum::Wiki.new(path) + # set 'wiki-' prefix on ids for tests + wiki.sanitization.id_prefix = 'wiki-' return wiki, path, cleanup end end