[DRE-commits] [gem2deb] 03/04: metadata_test: really remove test directory between tests

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Jul 9 15:48:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository gem2deb.

commit ca86a2b5077d090b6cc18fae64c46827fffb6e9a
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sun Jul 9 11:38:33 2017 -0300

    metadata_test: really remove test directory between tests
---
 test/unit/metadata_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unit/metadata_test.rb b/test/unit/metadata_test.rb
index 5dc9ea7..42140c2 100644
--- a/test/unit/metadata_test.rb
+++ b/test/unit/metadata_test.rb
@@ -99,7 +99,7 @@ class MetaDataTest < Gem2DebTestCase
   end
 
   def teardown
-    FileUtils.rmdir('test/tmp')
+    FileUtils.rm_rf('test/tmp')
   end
 
   context 'without gemspec' do

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list