[rubygems/rubygems] This spec is independent from global sources

https://github.com/rubygems/rubygems/commit/d91c245921
This commit is contained in:
David Rodríguez 2023-06-08 19:40:41 +02:00 коммит произвёл Hiroshi SHIBATA
Родитель 551b8a31a9
Коммит e1038f943f
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -297,8 +297,12 @@ RSpec.describe "install in deployment or frozen mode" do
expect(out).to eq("WIN")
end
it "works if a gem is missing, but it's on a different platform, and the Gemfile has no global source", :bundler => "< 3" do
it "works if a gem is missing, but it's on a different platform", :bundler => "< 3" do
build_repo2
install_gemfile <<-G
source "#{file_uri_for(gem_repo2)}"
source "#{file_uri_for(gem_repo1)}" do
gem "rake", platform: :#{not_local_tag}
end