summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Lance <stefan@lances.net>2015-06-17 16:59:03 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-07-05 15:11:19 -0300
commitf58f04277cb47dc9b1fdfe401a15bbe281dfa7c3 (patch)
treee1f6fe2cf03a43bb33a1dc57a411069e118feacb
parent2ecbd10ea9be8da65859a6a19d54fe3e2185a075 (diff)
downloadbundler-f58f04277cb47dc9b1fdfe401a15bbe281dfa7c3.tar.gz
Fix specs expecting err to be empty
-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 275585cc8b..a1634566a3 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 c815ccbbd3..ccc2aed8be 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