Sha256: ebfa4c835ce7a5670edd430abe6fd8fc95197e259f957b621004bb7ff1db7354
Contents?: true
Size: 290 Bytes
Versions: 1
Compression:
Stored size: 290 Bytes
Contents
require 'tmpdir' $TEMP_DIR = File.join(Dir.tmpdir, "cucumber", File.basename($PROJECT_ROOT)) puts "[$TEMP_DIR] #{$TEMP_DIR}" Before do FileUtils.rm_rf $TEMP_DIR FileUtils.mkdir_p $TEMP_DIR end def in_temporary_directory(&block) Dir.chdir($TEMP_DIR) do block.call end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sow-0.5 | plug/sow/seeds/cucumber/template/features/support/tmp.rb |