summaryrefslogtreecommitdiff
path: root/spec/cache/cache_path_spec.rb
diff options
context:
space:
mode:
authorMal Graty <mal.graty@googlemail.com>2017-04-30 15:59:10 +0100
committerMal Graty <mal.graty@googlemail.com>2017-05-01 16:24:24 +0100
commitaeb2a5a25ca4373dd5c6e55f985d1436064aa0ac (patch)
treed01784c74e4623b99a66db1622c61ed2e661b4c6 /spec/cache/cache_path_spec.rb
parent15bd319731e77a645a3e5c2a59c2fb274fcb12b7 (diff)
downloadbundler-aeb2a5a25ca4373dd5c6e55f985d1436064aa0ac.tar.gz
Permit absolute paths in cache_path setting
Diffstat (limited to 'spec/cache/cache_path_spec.rb')
-rw-r--r--spec/cache/cache_path_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/cache/cache_path_spec.rb b/spec/cache/cache_path_spec.rb
index ec6d6e312a..df7c0bd031 100644
--- a/spec/cache/cache_path_spec.rb
+++ b/spec/cache/cache_path_spec.rb
@@ -23,12 +23,4 @@ RSpec.describe "bundle package" do
expect(bundled_app("vendor/cache-foo/rack-1.0.0.gem")).to exist
end
end
-
- context "when given an absolute path" do
- it "exits with non-zero status" do
- bundle :package, "cache-path" => "/tmp/cache-foo"
- expect(out).to match(/must be relative/)
- expect(exitstatus).to eq(15) if exitstatus
- end
- end
end