diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-01-25 12:48:16 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-01-25 22:12:33 +0900 |
commit | 342e7a094a70d6f90b96262c88177dae32976c85 (patch) | |
tree | 050f96c54f39c6e12ebfafb6e921edb9bbe03e42 /spec/bundler | |
parent | cd806e19b7b72ef81762c57090d0a73a42e2382d (diff) | |
download | ruby-342e7a094a70d6f90b96262c88177dae32976c85.tar.gz |
[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
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/commands/remove_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/bundler/commands/remove_spec.rb b/spec/bundler/commands/remove_spec.rb index 70dc09c9b6..95d6e75e9f 100644 --- a/spec/bundler/commands/remove_spec.rb +++ b/spec/bundler/commands/remove_spec.rb @@ -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 |