summaryrefslogtreecommitdiff
path: root/spec/runtime/setup_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/runtime/setup_spec.rb')
-rw-r--r--spec/runtime/setup_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index 2950f925c3..a253d4e86e 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -937,9 +937,11 @@ describe "Bundler.setup" do
end
context "is newer" do
- it "does not change the lock" do
+ it "does not change the lock or warn" do
lockfile lock_with(Bundler::VERSION.succ)
ruby "require 'bundler/setup'"
+ expect(out).to eq("")
+ expect(err).to eq("")
lockfile_should_be lock_with(Bundler::VERSION.succ)
end
end