summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/info_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/commands/info_spec.rb')
-rw-r--r--spec/bundler/commands/info_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/bundler/commands/info_spec.rb b/spec/bundler/commands/info_spec.rb
index 29cac94057..518f93511a 100644
--- a/spec/bundler/commands/info_spec.rb
+++ b/spec/bundler/commands/info_spec.rb
@@ -66,6 +66,10 @@ RSpec.describe "bundle info" do
bundle "info rail --path"
expect(err).to match(/The gem rails has been deleted/i)
expect(err).to match(default_bundle_path("gems", "rails-2.3.2").to_s)
+
+ bundle "info rails"
+ expect(err).to match(/The gem rails has been deleted/i)
+ expect(err).to match(default_bundle_path("gems", "rails-2.3.2").to_s)
end
context "given a default gem shippped in ruby", :ruby_repo do