diff options
author | Joel Turkel <jturkel@salsify.com> | 2019-01-07 10:52:33 -0500 |
---|---|---|
committer | Joel Turkel <jturkel@salsify.com> | 2019-01-07 11:03:31 -0500 |
commit | 8b0779a0719ee702c59e1d638cccc32d9a69767b (patch) | |
tree | ce0865ffd83b5eae1f9bfd0bb4dcbe9f1dbf19d4 /spec/bundler | |
parent | a63a39d738865665f714f179fe42dd10006da26d (diff) | |
download | bundler-8b0779a0719ee702c59e1d638cccc32d9a69767b.tar.gz |
Don't check for the existence of a writable home directory if BUNDLE_USER_HOME is set
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/bundler_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/bundler/bundler_spec.rb b/spec/bundler/bundler_spec.rb index 194d6752b2..c21fc5f7a5 100644 --- a/spec/bundler/bundler_spec.rb +++ b/spec/bundler/bundler_spec.rb @@ -465,6 +465,7 @@ MESSAGE it "should use custom home path as root for other paths" do ENV["BUNDLE_USER_HOME"] = bundle_user_home_custom.to_s + allow(Bundler.rubygems).to receive(:user_home).and_raise expect(Bundler.user_bundle_path).to eq(bundle_user_home_custom) expect(Bundler.user_bundle_path("home")).to eq(bundle_user_home_custom) expect(Bundler.user_bundle_path("cache")).to eq(bundle_user_home_custom.join("cache")) |