aboutsummaryrefslogtreecommitdiffstats
path: root/spec/runtime
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2016-08-10 11:27:35 -0700
committerAndre Arko <andre@arko.net>2016-08-10 11:27:35 -0700
commitc1e168dcd51e14f67373a6190cba153be50662f5 (patch)
tree8519d7de078042f334343f3ee95306327592266f /spec/runtime
parent086f79921378c6aaeb31a614ccf6a8862ea3acb3 (diff)
downloadbundler-c1e168dcd51e14f67373a6190cba153be50662f5.tar.gz
Rename all BUNDLE_ORIG_* env to BUNDLER_ORIG*
Any enviroment variable that starts with BUNDLE_ will be treated as a configurationg setting, printed by `bundle config`, and made available internally via `Bundler.settings`. The ORIG_* environment variables are actually just internal housekeeping to enable us to provide clean non-bundled environments, and so they shouldn't show up as settings. This change to the environment variable names makes sure it is still clear where they are coming from, but no longer surfaces them via config/settings.
Diffstat (limited to 'spec/runtime')
-rw-r--r--spec/runtime/with_clean_env_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/runtime/with_clean_env_spec.rb b/spec/runtime/with_clean_env_spec.rb
index b2ab0883..752754be 100644
--- a/spec/runtime/with_clean_env_spec.rb
+++ b/spec/runtime/with_clean_env_spec.rb
@@ -78,7 +78,7 @@ describe "Bundler.with_env helpers" do
it "should restore the original MANPATH" do
code = "print Bundler.clean_env['MANPATH']"
ENV["MANPATH"] = "/foo"
- ENV["BUNDLE_ORIG_MANPATH"] = "/foo-original"
+ ENV["BUNDLER_ORIG_MANPATH"] = "/foo-original"
result = bundle("exec ruby -e #{code.inspect}")
expect(result).to eq("/foo-original")
end