From f58f04277cb47dc9b1fdfe401a15bbe281dfa7c3 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 275585cc..a1634566 100644 --- a/spec/commands/check_spec.rb +++ b/spec/commands/check_spec.rb @@ -332,7 +332,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 c815ccbb..ccc2aed8 100644 --- a/spec/runtime/inline_spec.rb +++ b/spec/runtime/inline_spec.rb @@ -91,7 +91,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 -- cgit v1.2.3