diff options
author | Stefan Lance <stefan@lances.net> | 2015-03-20 20:09:12 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-07-05 15:10:43 -0300 |
commit | 6c23655565d9d47f045c9c8a37915988c94987e0 (patch) | |
tree | bbe779e3adbdcaa2fb1a3df59c7d6d1ba046ad8a /spec/other | |
parent | a82b8f5816e34652d120de75292064de99a56bbb (diff) | |
download | bundler-6c23655565d9d47f045c9c8a37915988c94987e0.tar.gz |
Add Bundler.ui.deprecate
Diffstat (limited to 'spec/other')
-rw-r--r-- | spec/other/cli_dispatch_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/other/cli_dispatch_spec.rb b/spec/other/cli_dispatch_spec.rb index 7aee482b..9d57a904 100644 --- a/spec/other/cli_dispatch_spec.rb +++ b/spec/other/cli_dispatch_spec.rb @@ -4,19 +4,19 @@ require "spec_helper" describe "bundle command names" do it "work when given fully" do bundle "install" - expect(err).to eq("") + expect(err).to lack_errors expect(out).not_to match(/Ambiguous command/) end it "work when not ambiguous" do bundle "ins" - expect(err).to eq("") + expect(err).to lack_errors expect(out).not_to match(/Ambiguous command/) end it "print a friendly error when ambiguous" do - bundle "in" - expect(err).to eq("") + bundle "i" + expect(err).to lack_errors expect(out).to match(/Ambiguous command/) end end |