diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-24 19:53:16 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-15 16:05:12 +0900 |
commit | 2fafc08aa34ddba39d0bfdb6e7c5de4f7bf7f55e (patch) | |
tree | 7b857ff42b6b51018793e191e2f19adeaf023033 /spec/bundler/install/gemspecs_spec.rb | |
parent | 547ba6608e3e81674f829b75fcb0a9023889e235 (diff) |
[rubygems/rubygems] Remove unneeded trailing conditions on exitstatus
https://github.com/rubygems/rubygems/commit/27e0e4ecb6
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3275
Diffstat (limited to 'spec/bundler/install/gemspecs_spec.rb')
-rw-r--r-- | spec/bundler/install/gemspecs_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/install/gemspecs_spec.rb b/spec/bundler/install/gemspecs_spec.rb index 98e87f1b21..0db1f1985b 100644 --- a/spec/bundler/install/gemspecs_spec.rb +++ b/spec/bundler/install/gemspecs_spec.rb @@ -130,7 +130,7 @@ RSpec.describe "bundle install" do expect(err).to include("Ruby patchlevel") expect(err).to include("but your Gemfile specified") - expect(exitstatus).to eq(18) if exitstatus + expect(exitstatus).to eq(18) end it "fails and complains about version on version mismatch" do @@ -147,7 +147,7 @@ RSpec.describe "bundle install" do expect(err).to include("Ruby version") expect(err).to include("but your Gemfile specified") - expect(exitstatus).to eq(18) if exitstatus + expect(exitstatus).to eq(18) end end end |