summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gemspecs_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/install/gemspecs_spec.rb')
-rw-r--r--spec/bundler/install/gemspecs_spec.rb4
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