features/support/env.rb in engineyard-recipes-0.1.3 vs features/support/env.rb in engineyard-recipes-0.2.0.pre1
- old
+ new
@@ -1,10 +1,10 @@
$:.unshift(File.expand_path(File.dirname(__FILE__) + '/../../lib'))
require 'bundler/setup'
require 'engineyard-recipes'
-path = ENV['PATH']
+original_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"))
@@ -15,7 +15,7 @@
@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
+ ENV['PATH'] = fixture_bin_path + ":" + original_path
end