|
56 | 56 | expect(out).to eq("2.3.2") |
57 | 57 | end |
58 | 58 |
|
59 | | - it "doesn't claim that bundler has been deleted, even if using a custom path without bundler there" do |
| 59 | + it "doesn't claim that bundler is missing, even if using a custom path without bundler there" do |
60 | 60 | bundle "config set --local path vendor/bundle" |
61 | 61 | bundle "install" |
62 | 62 | bundle "info bundler" |
63 | 63 | expect(out).to include("\tPath: #{root}") |
64 | | - expect(err).not_to match(/The gem bundler has been deleted/i) |
| 64 | + expect(err).not_to match(/The gem bundler is missing/i) |
65 | 65 | end |
66 | 66 |
|
67 | 67 | it "complains if gem not in bundle" do |
68 | 68 | bundle "info missing", raise_on_error: false |
69 | 69 | expect(err).to eq("Could not find gem 'missing'.") |
70 | 70 | end |
71 | 71 |
|
72 | | - it "warns if path no longer exists on disk" do |
| 72 | + it "warns if path does not exist on disk, but specification is there" do |
73 | 73 | FileUtils.rm_rf(default_bundle_path("gems", "rails-2.3.2")) |
74 | 74 |
|
75 | 75 | bundle "info rails --path" |
76 | 76 |
|
77 | | - expect(err).to include("The gem rails has been deleted.") |
| 77 | + expect(err).to include("The gem rails is missing.") |
78 | 78 | expect(err).to include(default_bundle_path("gems", "rails-2.3.2").to_s) |
79 | 79 |
|
80 | 80 | bundle "info rail --path" |
81 | | - expect(err).to include("The gem rails has been deleted.") |
| 81 | + expect(err).to include("The gem rails is missing.") |
82 | 82 | expect(err).to include(default_bundle_path("gems", "rails-2.3.2").to_s) |
83 | 83 |
|
84 | 84 | bundle "info rails" |
85 | | - expect(err).to include("The gem rails has been deleted.") |
| 85 | + expect(err).to include("The gem rails is missing.") |
86 | 86 | expect(err).to include(default_bundle_path("gems", "rails-2.3.2").to_s) |
87 | 87 | end |
88 | 88 |
|
|
0 commit comments