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/commands | |
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/commands')
-rw-r--r-- | spec/bundler/commands/config_spec.rb | 2 | ||||
-rw-r--r-- | spec/bundler/commands/exec_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/commands/config_spec.rb b/spec/bundler/commands/config_spec.rb index f1bc657ffb..70e3feff00 100644 --- a/spec/bundler/commands/config_spec.rb +++ b/spec/bundler/commands/config_spec.rb @@ -92,7 +92,7 @@ RSpec.describe ".bundle/config" do it "can also be set explicitly" do bundle "config set --global foo global" - run! "puts Bundler.settings[:foo]" + run "puts Bundler.settings[:foo]" expect(out).to eq("global") end diff --git a/spec/bundler/commands/exec_spec.rb b/spec/bundler/commands/exec_spec.rb index e797acfad2..b38afb463d 100644 --- a/spec/bundler/commands/exec_spec.rb +++ b/spec/bundler/commands/exec_spec.rb @@ -921,7 +921,7 @@ __FILE__: #{path.to_s.inspect} expect(bundle("exec #{file}", :artifice => nil, :env => env)).to eq(expected) expect(bundle("exec bundle exec #{file}", :artifice => nil, :env => env)).to eq(expected) expect(bundle("exec ruby #{file}", :artifice => nil, :env => env)).to eq(expected) - expect(run!(file.read, :artifice => nil, :env => env)).to eq(expected) + expect(run(file.read, :artifice => nil, :env => env)).to eq(expected) end skip "ruby_core has openssl and rubygems in the same folder, and this test needs rubygems require but default openssl not in a directly added entry in $LOAD_PATH" if ruby_core? |