summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSteve Frank <lardcanoe@gmail.com>2014-02-08 14:15:42 -0500
committerSteve Frank <lardcanoe@gmail.com>2014-02-20 23:02:18 -0500
commit5d7473d2e72a7d53015490e70e77b59c2f483eed (patch)
treef1d2424bbed9c40c81b13cb900222beb5545bd58 /spec
parentbb8f694147cb07cd820297978b0378ffa4c6d54b (diff)
downloadbundler-5d7473d2e72a7d53015490e70e77b59c2f483eed.tar.gz
Add summary option to 'show' cli command
Add summary option to 'show' cli command Add summary option to 'show' cli command
Diffstat (limited to 'spec')
-rw-r--r--spec/commands/show_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/commands/show_spec.rb b/spec/commands/show_spec.rb
index 2e825f5a17..01a2c2a50a 100644
--- a/spec/commands/show_spec.rb
+++ b/spec/commands/show_spec.rb
@@ -59,6 +59,13 @@ describe "bundle show" do
gem_list = out.split.map { |p| p.split('/').last }
expect(gem_list).to eq(gem_list.sort)
end
+
+ it "prints summary of gems" do
+ bundle "show --verbose"
+
+ expect(out).to include(' - This is just a fake gem for testing')
+ expect(out).to include(' - Ruby based make-like utility.')
+ end
end
context "with a git repo in the Gemfile" do