diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-03 20:48:46 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | ea4824ee0ffcea5fcfacfe40b4f399efe310455a (patch) | |
tree | 8f3e5b3049944a718dd7bf356027c7cdc29f0baf /spec/bundler/install/gems | |
parent | 596588c6978b1bef4a19328a978ff063d05cb6ab (diff) |
[rubygems/rubygems] s/run!/run
https://github.com/rubygems/rubygems/commit/e3f60d8aec
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec/bundler/install/gems')
-rw-r--r-- | spec/bundler/install/gems/compact_index_spec.rb | 2 | ||||
-rw-r--r-- | spec/bundler/install/gems/native_extensions_spec.rb | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/install/gems/compact_index_spec.rb b/spec/bundler/install/gems/compact_index_spec.rb index 3f86629230..e5ec9cc567 100644 --- a/spec/bundler/install/gems/compact_index_spec.rb +++ b/spec/bundler/install/gems/compact_index_spec.rb @@ -59,7 +59,7 @@ RSpec.describe "compact index api" do # can't use `include_gems` here since the `require` will conflict on a # case-insensitive FS - run! "Bundler.require; puts Gem.loaded_specs.values_at('rack', 'Rack').map(&:full_name)" + run "Bundler.require; puts Gem.loaded_specs.values_at('rack', 'Rack').map(&:full_name)" expect(out).to eq("rack-1.0\nRack-0.1") end diff --git a/spec/bundler/install/gems/native_extensions_spec.rb b/spec/bundler/install/gems/native_extensions_spec.rb index 742f2a48a9..8a4de3cf92 100644 --- a/spec/bundler/install/gems/native_extensions_spec.rb +++ b/spec/bundler/install/gems/native_extensions_spec.rb @@ -83,7 +83,7 @@ RSpec.describe "installing a gem with native extensions", :ruby_repo do expect(err).to_not include("warning: conflicting chdir during another chdir block") - run! "Bundler.require; puts CExtension.new.its_true" + run "Bundler.require; puts CExtension.new.its_true" expect(out).to eq("true") end @@ -135,7 +135,7 @@ RSpec.describe "installing a gem with native extensions", :ruby_repo do gem "c_extension_two", :git => #{lib_path("gems").to_s.dump} G - run! "Bundler.require; puts CExtension_one.new.value; puts CExtension_two.new.value" + run "Bundler.require; puts CExtension_one.new.value; puts CExtension_two.new.value" expect(out).to eq("one\ntwo") end @@ -174,7 +174,7 @@ RSpec.describe "installing a gem with native extensions", :ruby_repo do gem "c_extension", :git => #{lib_path("c_extension-1.0").to_s.dump} G - run! "Bundler.require; puts CExtension.new.its_true" + run "Bundler.require; puts CExtension.new.its_true" expect(out).to eq("true") end end |