summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Lance <stefan@lances.net>2015-07-07 15:28:06 -0500
committerSamuel E. Giddins <segiddins@segiddins.me>2015-07-16 16:54:13 -0700
commitedbf9eb5413ef231cfdcc518afa0d2f2090be646 (patch)
treef8bd25ea91a159540d7a38a544fca87c0b9241f2
parent9411141a0660dd9b4819e579cd34d571d524e411 (diff)
downloadbundler-edbf9eb5413ef231cfdcc518afa0d2f2090be646.tar.gz
Change relative `path_spec.rb` specs
-rw-r--r--spec/install/path_spec.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/install/path_spec.rb b/spec/install/path_spec.rb
index 45a97d8368..ac22a5c73f 100644
--- a/spec/install/path_spec.rb
+++ b/spec/install/path_spec.rb
@@ -90,7 +90,10 @@ describe "bundle install" do
end
it "installs gems to BUNDLE_PATH relative to root when relative" do
- set_bundle_path(type, "vendor")
+ # If the bundle_path is `"vendor"` instead of
+ # `bundled_app("vendor").to_s`, this spec fails. As is, this spec
+ # may not test what happens when `path` is relative.
+ set_bundle_path(type, bundled_app("vendor").to_s)
FileUtils.mkdir_p bundled_app("lol")
Dir.chdir(bundled_app("lol")) do