Sha256: 7609214adae0002692da2d2ef5f6d45c274d5af0d98cbec8c9389515b3611f97
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
require File.dirname(__FILE__) + '/../lib/cotta' require File.dirname(__FILE__) + '/cotta/physical_system_stub' require 'spec' module Cotta module TempDirs def setup_tmp root = current(__FILE__).parent {|dir| dir.name == 'buildmaster' and dir.dir('bin').exists?} output = root.dir('tmp') output.delete output end def current(file) FileFactory.file(file).parent end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cotta-1.0.0 | test/test.rb |