From ee1f3038f1657aa90d75e735e4262fe8d9b3d745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 24 May 2019 17:46:26 +0200 Subject: [PATCH] [bundler/bundler] Clarify spec description https://github.com/bundler/bundler/commit/b2abde04aa --- spec/bundler/commands/exec_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/bundler/commands/exec_spec.rb b/spec/bundler/commands/exec_spec.rb index 44ab3f6016..639f3ab2e5 100644 --- a/spec/bundler/commands/exec_spec.rb +++ b/spec/bundler/commands/exec_spec.rb @@ -842,7 +842,7 @@ __FILE__: #{path.to_s.inspect} context "nested bundle exec" do let(:system_gems_to_install) { super() << :bundler } - context "with shared gems disabled" do + context "when bundle in a local path" do before do gemfile <<-G source "#{file_uri_for(gem_repo1)}" @@ -851,7 +851,7 @@ __FILE__: #{path.to_s.inspect} bundle :install, :system_bundler => true, :path => "vendor/bundler" end - it "overrides disable_shared_gems so bundler can be found", :ruby_repo do + it "correctly shells out", :ruby_repo do system_gems :bundler file = bundled_app("file_that_bundle_execs.rb") create_file(file, <<-RB)