From 696a50751bc3257e5a75b4f0eb89ccef7ec89363 Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Wed, 3 Jun 2020 20:46:03 +0200 Subject: [rubygems/rubygems] s/install_gemfile!/install_gemfile https://github.com/rubygems/rubygems/commit/4d1a0c465a --- spec/bundler/install/gemfile/git_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'spec/bundler/install/gemfile/git_spec.rb') diff --git a/spec/bundler/install/gemfile/git_spec.rb b/spec/bundler/install/gemfile/git_spec.rb index e1ab8b7d93..9b68b424e4 100644 --- a/spec/bundler/install/gemfile/git_spec.rb +++ b/spec/bundler/install/gemfile/git_spec.rb @@ -225,7 +225,7 @@ RSpec.describe "bundle install with git sources" do s.write("lib/foo.rb", "raise 'FAIL'") end - install_gemfile! <<-G + install_gemfile <<-G git "#{lib_path("foo-1.0")}", :ref => "refs/bundler/1" do gem "foo" end @@ -241,7 +241,7 @@ RSpec.describe "bundle install with git sources" do end it "works when the revision is a non-head ref and it was previously downloaded" do - install_gemfile! <<-G + install_gemfile <<-G git "#{lib_path("foo-1.0")}" do gem "foo" end @@ -259,7 +259,7 @@ RSpec.describe "bundle install with git sources" do s.write("lib/foo.rb", "raise 'FAIL'") end - install_gemfile! <<-G + install_gemfile <<-G git "#{lib_path("foo-1.0")}", :ref => "refs/bundler/1" do gem "foo" end @@ -279,7 +279,7 @@ RSpec.describe "bundle install with git sources" do bundle "config set global_gem_cache true" - install_gemfile! <<-G + install_gemfile <<-G git "#{lib_path("foo-1.0")}" do gem "foo" end @@ -446,7 +446,7 @@ RSpec.describe "bundle install with git sources" do s.write "lib/rack.rb", "puts :LOCAL" end - install_gemfile! <<-G + install_gemfile <<-G source "#{file_uri_for(gem_repo1)}" gem "rack", :git => "#{lib_path("rack-0.8")}", :branch => "master" G -- cgit v1.2.3