diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-06-22 17:41:47 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-06-23 18:41:36 -0500 |
commit | 2cae4e18d9a6041b947b78888d30cf4f758d4a1d (patch) | |
tree | 4aa6781eedfb83046665d2a36b2cacb3eed3768b /spec | |
parent | 06a98cfdaeec9c961b593774aa05eab0f39ed8db (diff) | |
download | bundler-2cae4e18d9a6041b947b78888d30cf4f758d4a1d.tar.gz |
Add spec for not printing major deprecations with --quiet
Diffstat (limited to 'spec')
-rw-r--r-- | spec/other/major_deprecation_spec.rb | 7 |
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 |