summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Lance <stefan@lances.net>2015-07-09 11:43:59 -0500
committerSamuel E. Giddins <segiddins@segiddins.me>2015-07-16 16:55:05 -0700
commit030a886637009421550a5635875efc8f8d0c81bb (patch)
tree60bc21fd9b5329c06f9ebe9e5c0cd89c338ef493
parent458b6cead0944a95eb4f64463a7d9db68e482adf (diff)
downloadbundler-030a886637009421550a5635875efc8f8d0c81bb.tar.gz
Fix failing path specs
-rw-r--r--spec/install/path_spec.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/install/path_spec.rb b/spec/install/path_spec.rb
index ac22a5c73f..2ae06948f1 100644
--- a/spec/install/path_spec.rb
+++ b/spec/install/path_spec.rb
@@ -84,13 +84,12 @@ describe "bundle install" do
set_bundle_path(type, bundled_app("vendor").to_s)
bundle :install
-
- expect(bundled_app("vendor/gems/rack-1.0.0")).to be_directory
+ expect(bundled_app("vendor/#{Bundler.ruby_scope}/gems/rack-1.0.0")).to be_directory
should_be_installed "rack 1.0.0"
end
it "installs gems to BUNDLE_PATH relative to root when relative" do
- # If the bundle_path is `"vendor"` instead of
+ # FIXME: 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)
@@ -100,7 +99,7 @@ describe "bundle install" do
bundle :install
end
- expect(bundled_app("vendor/gems/rack-1.0.0")).to be_directory
+ expect(bundled_app("vendor/#{Bundler.ruby_scope}/gems/rack-1.0.0")).to be_directory
should_be_installed "rack 1.0.0"
end
end