зеркало из https://github.com/github/ruby.git
[bundler/bundler] Clarify spec description
https://github.com/bundler/bundler/commit/b2abde04aa
This commit is contained in:
Родитель
0aed0bd9ed
Коммит
ee1f3038f1
|
@ -842,7 +842,7 @@ __FILE__: #{path.to_s.inspect}
|
||||||
context "nested bundle exec" do
|
context "nested bundle exec" do
|
||||||
let(:system_gems_to_install) { super() << :bundler }
|
let(:system_gems_to_install) { super() << :bundler }
|
||||||
|
|
||||||
context "with shared gems disabled" do
|
context "when bundle in a local path" do
|
||||||
before do
|
before do
|
||||||
gemfile <<-G
|
gemfile <<-G
|
||||||
source "#{file_uri_for(gem_repo1)}"
|
source "#{file_uri_for(gem_repo1)}"
|
||||||
|
@ -851,7 +851,7 @@ __FILE__: #{path.to_s.inspect}
|
||||||
bundle :install, :system_bundler => true, :path => "vendor/bundler"
|
bundle :install, :system_bundler => true, :path => "vendor/bundler"
|
||||||
end
|
end
|
||||||
|
|
||||||
it "overrides disable_shared_gems so bundler can be found", :ruby_repo do
|
it "correctly shells out", :ruby_repo do
|
||||||
system_gems :bundler
|
system_gems :bundler
|
||||||
file = bundled_app("file_that_bundle_execs.rb")
|
file = bundled_app("file_that_bundle_execs.rb")
|
||||||
create_file(file, <<-RB)
|
create_file(file, <<-RB)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче