Sha256: f8841781b83990bb3806ab4df1eddfa5146acec3f9da2e425aa5c27ba4c55a42
Contents?: true
Size: 257 Bytes
Versions: 10
Compression:
Stored size: 257 Bytes
Contents
require 'fileutils' Before do @real_home = ENV['HOME'] fake_home = File.join('/tmp', 'fakehome') FileUtils.rm_rf fake_home if File.exists? fake_home FileUtils.mkdir_p fake_home ENV['HOME'] = fake_home end After do ENV['HOME'] = @real_home end
Version data entries
10 entries across 10 versions & 1 rubygems