summaryrefslogtreecommitdiff
path: root/spec/bundler/install
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-11-17 14:09:50 +0100
committergit <svn-admin@ruby-lang.org>2021-12-03 20:00:50 +0900
commit7d974cc56fa0555beed0bf4f6fe34322cd24cd26 (patch)
treed3448fda729aafd7825418cc5f3c5af7ff04334f /spec/bundler/install
parentaa87780f8f27253e216d4883dd4cae84d545ec1b (diff)
[rubygems/rubygems] Don't overwrite locked dependency sources too early
Otherwise we hide some useful message about dependency source changes. https://github.com/rubygems/rubygems/commit/c926673c5b
Diffstat (limited to 'spec/bundler/install')
-rw-r--r--spec/bundler/install/deploy_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/install/deploy_spec.rb b/spec/bundler/install/deploy_spec.rb
index 3604157155..e2ca96993f 100644
--- a/spec/bundler/install/deploy_spec.rb
+++ b/spec/bundler/install/deploy_spec.rb
@@ -379,7 +379,7 @@ RSpec.describe "install in deployment or frozen mode" do
expect(err).to include("deployment mode")
expect(err).to include("You have deleted from the Gemfile:\n* source: #{lib_path("rack-1.0")}")
expect(err).not_to include("You have added to the Gemfile")
- expect(err).not_to include("You have changed in the Gemfile")
+ expect(err).to include("You have changed in the Gemfile:\n* rack from `#{lib_path("rack-1.0")}` to `no specified source`")
end
it "explodes if you unpin a source, leaving it pinned somewhere else" do