Sha256: f10de278f7f6a8514af63a17d42922437fb6448d2642975548968188fe1a9a7a
Contents?: true
Size: 268 Bytes
Versions: 2
Compression:
Stored size: 268 Bytes
Contents
require 'tmpdir' require 'fileutils' RSpec.shared_context 'with tmp piece on disk' do let!(:tmp_piece_path) do Dir.mktmpdir end after do # This will recursively remove everything under that tmp dir. FileUtils.remove_entry(tmp_piece_path) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
everything-core-0.0.9 | spec/support/pieces.rb |
everything-core-0.0.8 | spec/support/pieces.rb |