Sha256: 3006cd70d59496bb1ed3016eb79f6a077364e2246a433444bd7b04a9b0b9767a

Contents?: true

Size: 253 Bytes

Versions: 83

Compression:

Stored size: 253 Bytes

Contents

# Swap home directory to current project spec/tmp
# to allow for writing files + cleanup
RSpec.configure do |config|
  config.before do
    @old_home = ENV['HOME']
    ENV['HOME'] = temp_dir
  end
  config.after do
    ENV['HOME'] = @old_home
  end
end

Version data entries

83 entries across 83 versions & 2 rubygems

Version Path
gitx-4.5.0 spec/support/home_env.rb
gitx-4.4.0 spec/support/home_env.rb
gitx-4.3.0 spec/support/home_env.rb
gitx-4.1.1 spec/support/home_env.rb
gitx-4.1.0 spec/support/home_env.rb
gitx-4.0.0 spec/support/home_env.rb
gitx-4.0.0.ci.234.1 spec/support/home_env.rb
gitx-3.2.0 spec/support/home_env.rb
gitx-3.2.0.ci.231.1 spec/support/home_env.rb
gitx-3.1.2 spec/support/home_env.rb
gitx-3.1.1 spec/support/home_env.rb
gitx-3.1.0.ci.216.1 spec/support/home_env.rb
gitx-3.1.0 spec/support/home_env.rb
gitx-3.0.2.ci.213.1 spec/support/home_env.rb
gitx-3.0.2.ci.207.1 spec/support/home_env.rb
gitx-3.0.2 spec/support/home_env.rb
gitx-3.0.1.ci.200.1 spec/support/home_env.rb
gitx-3.0.1 spec/support/home_env.rb
gitx-3.0.0.ci.188.1 spec/support/home_env.rb
gitx-3.0.0 spec/support/home_env.rb