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

Version Path
github_cli-0.4.1 features/support/hooks.rb
github_cli-0.4.0 features/support/hooks.rb
github_cli-0.3.1 features/support/hooks.rb
github_cli-0.3.0 features/support/hooks.rb
github_cli-0.2.1 features/support/hooks.rb
github_cli-0.2.0 features/support/hooks.rb
github_cli-0.1.3 features/support/hooks.rb
github_cli-0.1.2 features/support/hooks.rb
github_cli-0.1.1 features/support/hooks.rb
github_cli-0.1.0 features/support/hooks.rb