From 6503402345ee60611cf373cbe5bcf9e25e57e15d Mon Sep 17 00:00:00 2001 From: Stefan Lance Date: Wed, 17 Jun 2015 16:59:03 -0500 Subject: Fix specs expecting err to be empty --- spec/commands/check_spec.rb | 2 +- spec/runtime/inline_spec.rb | 2 +- 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 -- cgit v1.2.1