diff options
Diffstat (limited to 'spec/deprecation_spec.rb')
-rw-r--r-- | spec/deprecation_spec.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/deprecation_spec.rb b/spec/deprecation_spec.rb index 8bd036c4b1..5c2534b0d9 100644 --- a/spec/deprecation_spec.rb +++ b/spec/deprecation_spec.rb @@ -127,4 +127,18 @@ describe "Bundler version 1.99" do end end end + + context "bundle list" do + it "prints a deprecation warning" do + install_gemfile <<-G + source "file://#{gem_repo1}" + gem "rack" + G + + bundle :list + + expect(err).to include("DEPRECATION: `bundle list` is deprecated") + expect(err).to include("Use `bundle show`") + end + end end |