summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/add_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/commands/add_spec.rb
parent1436b5026cd1b2ac4b428955aeadaac8e8b12b1b (diff)
[rubygems/rubygems] s/install_gemfile!/install_gemfile
https://github.com/rubygems/rubygems/commit/4d1a0c465a
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec/bundler/commands/add_spec.rb')
-rw-r--r--spec/bundler/commands/add_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/commands/add_spec.rb b/spec/bundler/commands/add_spec.rb
index fd7c637c2c..4c533652ca 100644
--- a/spec/bundler/commands/add_spec.rb
+++ b/spec/bundler/commands/add_spec.rb
@@ -200,7 +200,7 @@ RSpec.describe "bundle add" do
describe "when a gem is added which is already specified in Gemfile with version" do
it "shows an error when added with different version requirement" do
- install_gemfile! <<-G
+ install_gemfile <<-G
source "#{file_uri_for(gem_repo2)}"
gem "rack", "1.0"
G
@@ -212,7 +212,7 @@ RSpec.describe "bundle add" do
end
it "shows error when added without version requirements" do
- install_gemfile! <<-G
+ install_gemfile <<-G
source "#{file_uri_for(gem_repo2)}"
gem "rack", "1.0"
G
@@ -227,7 +227,7 @@ RSpec.describe "bundle add" do
describe "when a gem is added which is already specified in Gemfile without version" do
it "shows an error when added with different version requirement" do
- install_gemfile! <<-G
+ install_gemfile <<-G
source "#{file_uri_for(gem_repo2)}"
gem "rack"
G