summaryrefslogtreecommitdiff
path: root/test/fileutils/clobber.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-06 03:13:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-06 03:13:08 +0000
commit58195557b203972799cf84c3b224bf144bf5756f (patch)
tree4b7a68e477b13e1d4e1c17ec4ae974a6dbe7c029 /test/fileutils/clobber.rb
parent2eb8b115eaf41cf3533a1485e001fbd79fad5042 (diff)
* test/fileutils/fileasserts.rb (FileAssertions): separate module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fileutils/clobber.rb')
-rw-r--r--test/fileutils/clobber.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/fileutils/clobber.rb b/test/fileutils/clobber.rb
index b3359e9..9f94665 100644
--- a/test/fileutils/clobber.rb
+++ b/test/fileutils/clobber.rb
@@ -7,6 +7,8 @@ class TestFileUtils < Test::Unit::TestCase
end
module TestFileUtils::Clobber
+ include Test::Unit::FileAssertions
+
def my_rm_rf(path)
if File.exist?('/bin/rm')
system %Q[/bin/rm -rf "#{path}"]