Sha256: ad568806dba29ed1eda5cc5f1ad5f1a10d2758452e8b88e7313dac03f41aed6c

Contents?: true

Size: 794 Bytes

Versions: 3

Compression:

Stored size: 794 Bytes

Contents

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

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
  @tmp_recipes_path = "/tmp/ey-recipes"
  FileUtils.rm_rf   @tmp_recipes_path
  FileUtils.mkdir_p @tmp_recipes_path
  ENV['HOME'] = @home_path
  fixture_bin_path = File.expand_path('../../../fixtures/bin', __FILE__)
  ENV['PATH'] = fixture_bin_path + ":" + path
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
engineyard-recipes-0.1.3 features/support/env.rb
engineyard-recipes-0.1.2 features/support/env.rb
engineyard-recipes-0.1.1 features/support/env.rb