./test/helper.rb in fun_with_files-0.0.4 vs ./test/helper.rb in fun_with_files-0.0.5

- old
+ new

@@ -18,6 +18,14 @@ class Test::Unit::TestCase end class FunWith::Files::TestCase < Test::Unit::TestCase + include FunWith::Files + + def tmpdir( &block ) + FunWith::Files::FilePath.tmpdir do |d| + @tmpdir = d + yield + end + end end \ No newline at end of file