aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/install/gemfile/git_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-03 20:46:03 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-18 19:14:15 +0900
commit696a50751bc3257e5a75b4f0eb89ccef7ec89363 (patch)
tree19e940b128c0a3dcdebac95ff98c217f646ae925 /spec/bundler/install/gemfile/git_spec.rb
parent1436b5026cd1b2ac4b428955aeadaac8e8b12b1b (diff)
downloadruby-696a50751bc3257e5a75b4f0eb89ccef7ec89363.tar.gz
[rubygems/rubygems] s/install_gemfile!/install_gemfile
https://github.com/rubygems/rubygems/commit/4d1a0c465a
Diffstat (limited to 'spec/bundler/install/gemfile/git_spec.rb')
-rw-r--r--spec/bundler/install/gemfile/git_spec.rb10
1 files changed, 5 insertions, 5 deletions
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