aboutsummaryrefslogtreecommitdiffstats
path: root/spec/other
diff options
context:
space:
mode:
authorStefan Lance <stefan@lances.net>2015-03-20 20:09:12 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-07-05 15:10:43 -0300
commit6c23655565d9d47f045c9c8a37915988c94987e0 (patch)
treebbe779e3adbdcaa2fb1a3df59c7d6d1ba046ad8a /spec/other
parenta82b8f5816e34652d120de75292064de99a56bbb (diff)
downloadbundler-6c23655565d9d47f045c9c8a37915988c94987e0.tar.gz
Add Bundler.ui.deprecate
Diffstat (limited to 'spec/other')
-rw-r--r--spec/other/cli_dispatch_spec.rb8
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