diff options
author | Stefan Lance <stefan@lances.net> | 2015-07-07 15:28:06 -0500 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-16 16:54:13 -0700 |
commit | edbf9eb5413ef231cfdcc518afa0d2f2090be646 (patch) | |
tree | f8bd25ea91a159540d7a38a544fca87c0b9241f2 | |
parent | 9411141a0660dd9b4819e579cd34d571d524e411 (diff) | |
download | bundler-edbf9eb5413ef231cfdcc518afa0d2f2090be646.tar.gz |
Change relative `path_spec.rb` specs
-rw-r--r-- | spec/install/path_spec.rb | 5 |
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 |