diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-12-14 21:19:28 +0900 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-12-14 15:34:48 +0100 |
commit | f8058353c2e0aaf64bd19c85e4c7081012dc7530 (patch) | |
tree | 3ca89f7ba1631632316946bbcbd6aad17960bf4b /spec/bundler/gem_helper_spec.rb | |
parent | 935c7272ba0f17f81823e704b54627b75cf7f913 (diff) | |
download | bundler-f8058353c2e0aaf64bd19c85e4c7081012dc7530.tar.gz |
Fixed test failures with gem command path on ruby core repo.fixed-bundler-specs-on-ruby-repo
Diffstat (limited to 'spec/bundler/gem_helper_spec.rb')
-rw-r--r-- | spec/bundler/gem_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/gem_helper_spec.rb b/spec/bundler/gem_helper_spec.rb index c01d65d5dd..29e10d64f8 100644 --- a/spec/bundler/gem_helper_spec.rb +++ b/spec/bundler/gem_helper_spec.rb @@ -235,7 +235,7 @@ RSpec.describe Bundler::GemHelper do end it "uses Kernel.system" do - expect(Kernel).to receive(:system).with("gem", "push", app_gem_path.to_s, "--host", "http://example.org").and_return(true) + expect(Kernel).to receive(:system).with(gem_bin, "push", app_gem_path.to_s, "--host", "http://example.org").and_return(true) Rake.application["release"].invoke end |