summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2024-10-04 14:22:10 +0200
committergit <svn-admin@ruby-lang.org>2024-11-06 13:16:57 +0000
commit40a2e8e9cfbe6e9003a4deff2bf44fffbee11437 (patch)
tree197dcb27d8901aa2126dc7ecaa0d49097c5a7537 /spec
parent54f6b787e34c517932def7a6e52c7958281129dd (diff)
[rubygems/rubygems] This is not about the lockfile anymore
https://github.com/rubygems/rubygems/commit/f2e0a72291
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/install/gems/compact_index_spec.rb4
-rw-r--r--spec/bundler/install/gems/resolving_spec.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/install/gems/compact_index_spec.rb b/spec/bundler/install/gems/compact_index_spec.rb
index 4653ce6d87..db5d184d51 100644
--- a/spec/bundler/install/gems/compact_index_spec.rb
+++ b/spec/bundler/install/gems/compact_index_spec.rb
@@ -1074,9 +1074,9 @@ RSpec.describe "compact index api" do
Gem::Dependency.new("activerecord", "= 2.3.2"),
Gem::Dependency.new("actionmailer", "= 2.3.2"),
Gem::Dependency.new("activeresource", "= 2.3.2")]
- expect(out).to include("rails-2.3.2 from rubygems remote at #{source_uri}/ has either corrupted API or lockfile dependencies")
+ expect(out).to include("rails-2.3.2 from rubygems remote at #{source_uri}/ has corrupted API dependencies")
expect(err).to include(<<-E.strip)
-Bundler::APIResponseMismatchError: Downloading rails-2.3.2 revealed dependencies not in the API or the lockfile (#{deps.map(&:to_s).join(", ")}).
+Bundler::APIResponseMismatchError: Downloading rails-2.3.2 revealed dependencies not in the API (#{deps.map(&:to_s).join(", ")}).
Running `bundle update rails` should fix the problem.
E
end
diff --git a/spec/bundler/install/gems/resolving_spec.rb b/spec/bundler/install/gems/resolving_spec.rb
index 694bc7c131..bd1cece9ef 100644
--- a/spec/bundler/install/gems/resolving_spec.rb
+++ b/spec/bundler/install/gems/resolving_spec.rb
@@ -117,7 +117,7 @@ RSpec.describe "bundle install with install-time dependencies" do
gem "actionpack", "2.3.2"
G
- expect(err).to include("Downloading actionpack-2.3.2 revealed dependencies not in the API or the lockfile (activesupport (= 2.3.2)).")
+ expect(err).to include("Downloading actionpack-2.3.2 revealed dependencies not in the API (activesupport (= 2.3.2)).")
expect(the_bundle).not_to include_gems "actionpack 2.3.2", "activesupport 2.3.2"
end