Sha256: 1929e44b237f0c1a90afafc61df533549abaf28b7e8a5c38a5f5a057c0def667
Contents?: true
Size: 314 Bytes
Versions: 7
Compression:
Stored size: 314 Bytes
Contents
shared_context "output dir" do def make_fresh_output_dir `mkdir /tmp/fresh_output` unless FileTest.exist?("/tmp/fresh_output") dir = "/tmp/fresh_output/#{rand(10000000000000)}" `mkdir #{dir}` dir end let(:output_dir) { make_fresh_output_dir } after do `rm -rf #{output_dir}` end end
Version data entries
7 entries across 7 versions & 2 rubygems