1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Fix spec to not touch the network

And not depend on the state of rack's master branch, in particular, on
their Ruby support range.

https://github.com/rubygems/rubygems/commit/9ea4baffac
This commit is contained in:
David Rodríguez 2022-01-25 12:48:16 +01:00 committed by git
parent cd806e19b7
commit 342e7a094a

View file

@ -48,12 +48,14 @@ RSpec.describe "bundle remove" do
context "when gem is specified in multiple lines" do
it "shows success for removed gem" do
build_git "rack"
gemfile <<-G
source '#{file_uri_for(gem_repo1)}'
gem 'git'
gem 'rack',
git: 'https://github.com/rack/rack',
git: "#{lib_path("rack-1.0")}",
branch: 'master'
gem 'nokogiri'
G