summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Lance <stefan@lances.net>2015-06-17 16:59:03 -0500
committerSamuel E. Giddins <segiddins@segiddins.me>2015-07-16 08:33:10 -0700
commit6503402345ee60611cf373cbe5bcf9e25e57e15d (patch)
treee45956ed6be1de2285215ede5f852138d153bf0e
parent43c1e1eeae52c2ab739a2898e506bf98b561ca9b (diff)
downloadbundler-6503402345ee60611cf373cbe5bcf9e25e57e15d.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 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