diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-08-11 17:20:46 -0700 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-08-11 18:17:38 -0700 |
commit | 5b7f69566a10369ef1cc6c100f58a0631e74bdc3 (patch) | |
tree | 96f0490496acf9af90e34684d4eed5a56e2d0a66 /spec/other/config_spec.rb | |
parent | 3e63a35750521eb392a7af746988bf7b2f15d306 (diff) | |
download | bundler-5b7f69566a10369ef1cc6c100f58a0631e74bdc3.tar.gz |
Diffstat (limited to 'spec/other/config_spec.rb')
-rw-r--r-- | spec/other/config_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/other/config_spec.rb b/spec/other/config_spec.rb index 6d059e90ff..bb4cd9e0e6 100644 --- a/spec/other/config_spec.rb +++ b/spec/other/config_spec.rb @@ -9,7 +9,7 @@ describe ".bundle/config" do end it "can be moved with an environment variable" do - ENV['BUNDLE_APP_CONFIG'] = tmp('foo/bar').to_s + env['BUNDLE_APP_CONFIG'] = tmp('foo/bar').to_s bundle "install vendor" bundled_app('.bundle').should_not exist @@ -21,7 +21,7 @@ describe ".bundle/config" do FileUtils.mkdir_p bundled_app('omg') Dir.chdir bundled_app('omg') - ENV['BUNDLE_APP_CONFIG'] = "../foo" + env['BUNDLE_APP_CONFIG'] = "../foo" bundle "install vendor" bundled_app(".bundle").should_not exist @@ -31,7 +31,7 @@ describe ".bundle/config" do it "removes environment.rb from BUNDLE_APP_CONFIG's path" do FileUtils.mkdir_p(tmp('foo/bar')) - ENV['BUNDLE_APP_CONFIG'] = tmp('foo/bar').to_s + env['BUNDLE_APP_CONFIG'] = tmp('foo/bar').to_s bundle "install" FileUtils.touch tmp('foo/bar/environment.rb') should_be_installed "rack 1.0.0" |