Sha256: f3f9ad3b7443efceb60e3f6e2cfbcd2199fa0b614d79062df36525819cd38f16

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

require 'test/unit'  # can I load test case only?
require 'facets/kernel/silence'
require 'tmpdir'
require 'fileutils'

module Reap
module TestCases

  module CaseTestable

    FIXTURE = "test/data"
    TEMPDIR = File.join(Dir.tmpdir, 'sow', 'test')

    def setup
      FileUtils.rm_r TEMPDIR if File.exist?(TEMPDIR)
      FileUtils.mkdir_p TEMPDIR
    end

  end

end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sow-0.5 test/unit/helper.rb
sow-0.4.0 test/unit/helper.rb