summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/other/show_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/other/show_spec.rb b/spec/other/show_spec.rb
index 4628907118..bdd3a1f6a2 100644
--- a/spec/other/show_spec.rb
+++ b/spec/other/show_spec.rb
@@ -34,8 +34,8 @@ describe "bundle show" do
bundle "show rails"
- expect(out).to match('Warning: The following path to rails no longer exists')
- expect(out).to match(default_bundle_path('gems', 'rails-2.3.2').to_s)
+ expect(out).to match(/has been deleted/i)
+ expect(out).to include(default_bundle_path('gems', 'rails-2.3.2').to_s)
end
it "prints the path to the running bundler" do