diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-01-25 12:48:16 +0100 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2022-04-12 14:07:25 +0900 |
commit | a6d990892c1d5496468bbacdd4cba99e8f0bd675 (patch) | |
tree | a4ecf0dd782483faef64ecc04d40ca2c6acf2f47 | |
parent | 5758c6487de1cdc6df33dfabdd59de23d3fd55f4 (diff) | |
download | ruby-a6d990892c1d5496468bbacdd4cba99e8f0bd675.tar.gz |
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.
-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 |