From 2fafc08aa34ddba39d0bfdb6e7c5de4f7bf7f55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 24 Jun 2020 19:53:16 +0200 Subject: [rubygems/rubygems] Remove unneeded trailing conditions on exitstatus https://github.com/rubygems/rubygems/commit/27e0e4ecb6 --- spec/bundler/commands/newgem_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/bundler/commands/newgem_spec.rb') 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 -- cgit v1.2.3