summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/commands/check_spec.rb2
-rw-r--r--spec/runtime/inline_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/check_spec.rb b/spec/commands/check_spec.rb
index 564657f555..cb14f9b7e8 100644
--- a/spec/commands/check_spec.rb
+++ b/spec/commands/check_spec.rb
@@ -331,7 +331,7 @@ describe "bundle check" do
lockfile lock_with(Bundler::VERSION.succ)
bundle :check
expect(out).to include("Bundler is older than the version that created the lockfile")
- expect(err).to eq("")
+ expect(err).to lack_errors
lockfile_should_be lock_with(Bundler::VERSION.succ)
end
end
diff --git a/spec/runtime/inline_spec.rb b/spec/runtime/inline_spec.rb
index accbf7ce2c..d5a5442aa3 100644
--- a/spec/runtime/inline_spec.rb
+++ b/spec/runtime/inline_spec.rb
@@ -90,7 +90,7 @@ describe "bundler/inline#gemfile" do
RUBY
expect(out).to include("Installing activesupport")
- expect(err).to eq("")
+ expect(err).to lack_errors
expect(exitstatus).to be_zero if exitstatus
end
end