mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[rubygems/rubygems] The install_gemfile
helper has not set "retry" for a long time
41dab5954f
This commit is contained in:
parent
f8e002a6b7
commit
2690d21067
1 changed files with 2 additions and 4 deletions
|
@ -30,22 +30,20 @@ RSpec.describe "bundle install with gem sources" do
|
|||
end
|
||||
|
||||
it "does not create ./.bundle by default" do
|
||||
gemfile <<-G
|
||||
install_gemfile <<-G
|
||||
source "https://gem.repo1"
|
||||
gem "myrack"
|
||||
G
|
||||
|
||||
bundle :install # can't use install_gemfile since it sets retry
|
||||
expect(bundled_app(".bundle")).not_to exist
|
||||
end
|
||||
|
||||
it "does not create ./.bundle by default when installing to system gems" do
|
||||
gemfile <<-G
|
||||
install_gemfile <<-G, env: { "BUNDLE_PATH__SYSTEM" => "true" }
|
||||
source "https://gem.repo1"
|
||||
gem "myrack"
|
||||
G
|
||||
|
||||
bundle :install, env: { "BUNDLE_PATH__SYSTEM" => "true" } # can't use install_gemfile since it sets retry
|
||||
expect(bundled_app(".bundle")).not_to exist
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue