summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gems/native_extensions_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/gems/native_extensions_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/install/gems/native_extensions_spec.rb')
-rw-r--r--spec/bundler/install/gems/native_extensions_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/install/gems/native_extensions_spec.rb b/spec/bundler/install/gems/native_extensions_spec.rb
index 8801a3c289..742f2a48a9 100644
--- a/spec/bundler/install/gems/native_extensions_spec.rb
+++ b/spec/bundler/install/gems/native_extensions_spec.rb
@@ -77,7 +77,7 @@ RSpec.describe "installing a gem with native extensions", :ruby_repo do
bundle "config set build.c_extension --with-c_extension=hello"
- install_gemfile! <<-G
+ install_gemfile <<-G
gem "c_extension", :git => #{lib_path("c_extension-1.0").to_s.dump}
G
@@ -125,12 +125,12 @@ RSpec.describe "installing a gem with native extensions", :ruby_repo do
bundle "config set build.c_extension_two --with-c_extension_two=two"
# 1st time, require only one gem -- only one of the extensions gets built.
- install_gemfile! <<-G
+ install_gemfile <<-G
gem "c_extension_one", :git => #{lib_path("gems").to_s.dump}
G
# 2nd time, require both gems -- we need both extensions to be built now.
- install_gemfile! <<-G
+ install_gemfile <<-G
gem "c_extension_one", :git => #{lib_path("gems").to_s.dump}
gem "c_extension_two", :git => #{lib_path("gems").to_s.dump}
G
@@ -170,7 +170,7 @@ RSpec.describe "installing a gem with native extensions", :ruby_repo do
bundle "config set build.c_extension --with-c_extension=hello --with-c_extension_bundle-dir=hola"
- install_gemfile! <<-G
+ install_gemfile <<-G
gem "c_extension", :git => #{lib_path("c_extension-1.0").to_s.dump}
G