diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-28 09:26:51 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-28 13:19:44 +0200 |
commit | 3717fa176255caad57e1cb2a54836910f83bb805 (patch) | |
tree | 8546da203bd9431002616071b709366c12aa6fb2 /spec/commands | |
parent | 8452e246540fed81ab24c59f07edd6876a6d330b (diff) | |
download | bundler-3717fa176255caad57e1cb2a54836910f83bb805.tar.gz |
Fix more specs on an environment with bundler head as a default gemfix_specs_with_bundler_master_installed_globally
Diffstat (limited to 'spec/commands')
-rw-r--r-- | spec/commands/show_spec.rb | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/spec/commands/show_spec.rb b/spec/commands/show_spec.rb index 3ae82f6fb3..6a7d5f267e 100644 --- a/spec/commands/show_spec.rb +++ b/spec/commands/show_spec.rb @@ -68,10 +68,23 @@ RSpec.describe "bundle show", :bundler => "< 3" do it "prints summary of gems" do bundle "show --verbose" - expect(out).to include("* actionmailer (2.3.2)") - expect(out).to include("\tSummary: This is just a fake gem for testing") - expect(out).to include("\tHomepage: No website available.") - expect(out).to include("\tStatus: Up to date") + expect(out).to include <<~MSG + * actionmailer (2.3.2) + \tSummary: This is just a fake gem for testing + \tHomepage: http://example.com + \tStatus: Up to date + MSG + end + + it "includes bundler in the summary of gems" do + bundle "show --verbose" + + expect(out).to include <<~MSG + * bundler (#{Bundler::VERSION}) + \tSummary: The best way to manage your application's dependencies + \tHomepage: https://bundler.io + \tStatus: Up to date + MSG end end |