Sha256: 3a4000a4782ddae8997a7865a677858e3753c88c8db6adbec835c4c51bc5ff3b

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 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, 'reap', 'test')

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

  end

end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reap-9.4.0 test/lib/case_testable.rb