lib/tap/test.rb in tap-test-0.2.0 vs lib/tap/test.rb in tap-test-0.3.0

- old
+ new

@@ -36,9 +36,14 @@ # isn't the test file. def acts_as_file_test(options={}) include Tap::Test::FileTest options[:root] ||= test_root_dir + + if options.has_key?(:cleanup_dirs) + self.cleanup_dirs = options.delete(:cleanup_dirs) + end + self.class_test_root = Tap::Root.new(options) end # Includes ShellTest in the calling class. Options are set as the default # sh_test_options. \ No newline at end of file