From 057baac3ce0dd69018af62a9ed349f166c0f6a32 Mon Sep 17 00:00:00 2001 From: rick Date: Wed, 8 Dec 2010 15:03:21 -0800 Subject: [PATCH] rm cloned git paths --- test/test_page.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/test_page.rb b/test/test_page.rb index 9fc6fa0a..0502215b 100644 --- a/test/test_page.rb +++ b/test/test_page.rb @@ -138,7 +138,12 @@ end context "Page Reverting" do setup do - @wiki = Gollum::Wiki.new(cloned_testpath("examples/revert.git")) + @path = cloned_testpath("examples/revert.git") + @wiki = Gollum::Wiki.new(@path) + end + + teardown do + FileUtils.rm_rf @path end test "reverts single commit" do