diff options
author | Stefan Lance <stefan@lances.net> | 2015-07-07 15:28:06 -0500 |
---|---|---|
committer | Stefan Lance <stefan@lances.net> | 2015-07-07 15:28:06 -0500 |
commit | 70aee8f2b9630a429acb362025b3f84c84bedcd4 (patch) | |
tree | 3d98efd8180b97711824edd28bb0161891210f15 | |
parent | 940853a0bd2b386b755f655063469ac469dfeae4 (diff) | |
download | bundler-70aee8f2b9630a429acb362025b3f84c84bedcd4.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 1044c3251c..271eb060cb 100644 --- a/spec/install/path_spec.rb +++ b/spec/install/path_spec.rb @@ -91,7 +91,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 |