summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/newgem_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-24 19:53:16 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-15 16:05:12 +0900
commit2fafc08aa34ddba39d0bfdb6e7c5de4f7bf7f55e (patch)
tree7b857ff42b6b51018793e191e2f19adeaf023033 /spec/bundler/commands/newgem_spec.rb
parent547ba6608e3e81674f829b75fcb0a9023889e235 (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/commands/newgem_spec.rb')
-rw-r--r--spec/bundler/commands/newgem_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/commands/newgem_spec.rb b/spec/bundler/commands/newgem_spec.rb
index 810d9a8f06..16ce9def37 100644
--- a/spec/bundler/commands/newgem_spec.rb
+++ b/spec/bundler/commands/newgem_spec.rb
@@ -1055,7 +1055,7 @@ Usage: "bundle gem NAME [OPTIONS]"
FileUtils.touch(bundled_app("conflict-foobar"))
bundle "gem conflict-foobar", :raise_on_error => false
expect(err).to include("Errno::ENOTDIR")
- expect(exitstatus).to eql(32) if exitstatus
+ expect(exitstatus).to eql(32)
end
end