summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-06-22 17:41:47 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-06-23 18:41:36 -0500
commit2cae4e18d9a6041b947b78888d30cf4f758d4a1d (patch)
tree4aa6781eedfb83046665d2a36b2cacb3eed3768b
parent06a98cfdaeec9c961b593774aa05eab0f39ed8db (diff)
downloadbundler-2cae4e18d9a6041b947b78888d30cf4f758d4a1d.tar.gz
Add spec for not printing major deprecations with --quiet
-rw-r--r--spec/other/major_deprecation_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/other/major_deprecation_spec.rb b/spec/other/major_deprecation_spec.rb
index a9960988c1..6957b539f8 100644
--- a/spec/other/major_deprecation_spec.rb
+++ b/spec/other/major_deprecation_spec.rb
@@ -67,5 +67,12 @@ describe "major deprecations" do
describe "bundle check" do
it_behaves_like "environmental deprecations", proc { bundle :check }
end
+
+ describe "bundle update --quiet" do
+ it "does not print any deprecations" do
+ bundle :update, :quiet => true
+ expect(warnings).not_to have_major_deprecation
+ end
+ end
end
end