Sha256: 2ceab2a708d0aaa9b73d6dcf2c4fc20494a02c54caa9fe016481c2fe8ad1a188

Contents?: true

Size: 678 Bytes

Versions: 2

Compression:

Stored size: 678 Bytes

Contents

$:.unshift(File.expand_path(File.dirname(__FILE__) + '/../../lib'))
require 'bundler/setup'
require 'engineyard-jenkins'

path = ENV['PATH']

Before do
  @tmp_root      = File.dirname(__FILE__) + "/../../tmp"
  @active_project_folder = @tmp_root
  @home_path     = File.expand_path(File.join(@tmp_root, "home"))
  @lib_path      = File.expand_path(File.dirname(__FILE__) + "/../../lib")
  @fixtures_path = File.expand_path(File.dirname(__FILE__) + "/../../fixtures")
  FileUtils.rm_rf   @tmp_root
  FileUtils.mkdir_p @home_path
  ENV['HOME'] = @home_path
  fixture_bin_path = File.expand_path('../../../fixtures/bin', __FILE__)
  ENV['PATH'] = fixture_bin_path + ":" + path
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
engineyard-jenkins-0.5.1 features/support/env.rb
engineyard-jenkins-0.5.0 features/support/env.rb