summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/outdated_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/commands/outdated_spec.rb')
-rw-r--r--spec/bundler/commands/outdated_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/commands/outdated_spec.rb b/spec/bundler/commands/outdated_spec.rb
index 8518e49e82..2a07f1c784 100644
--- a/spec/bundler/commands/outdated_spec.rb
+++ b/spec/bundler/commands/outdated_spec.rb
@@ -68,7 +68,7 @@ RSpec.describe "bundle outdated" do
bundle "outdated", :raise_on_error => false
- expect(exitstatus).to_not be_zero if exitstatus
+ expect(exitstatus).to_not be_zero
end
it "returns success exit status if no outdated gems present" do
@@ -517,7 +517,7 @@ RSpec.describe "bundle outdated" do
it "returns non-zero exit code" do
bundle "outdated invalid_gem_name", :raise_on_error => false
- expect(exitstatus).to_not be_zero if exitstatus
+ expect(exitstatus).to_not be_zero
end
end