diff options
author | David RodrÃguez <[email protected]> | 2024-06-27 19:53:52 +0200 |
---|---|---|
committer | git <[email protected]> | 2024-07-23 19:40:09 +0000 |
commit | 481c83453b447f2645a146bc5c45199659c71860 () | |
tree | 82b4e958a3dee42b5ba217578edb7ff0419dcc17 /spec/bundler/commands/check_spec.rb | |
parent | 5b931d9de6ca578b72ca55a134cd69863880092d (diff) |
[rubygems/rubygems] Enable checksums on Bundler 3 for fresh lockfiles
And get specs passing. https://.com/rubygems/rubygems/commit/c23b5f5b84
-rw-r--r-- | spec/bundler/commands/check_spec.rb | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -407,7 +407,7 @@ RSpec.describe "bundle check" do system_gems "depends_on_myrack-1.0", "myrack-1.0", gem_repo: gem_repo4, path: default_bundle_path bundle :check - checksums = checksums_section_when_existing do |c| c.no_checksum "depends_on_myrack", "1.0" c.no_checksum "myrack", "1.0" end @@ -470,13 +470,15 @@ RSpec.describe "bundle check" do bundle "check --verbose", dir: tmp("bundle-check-issue") - checksums = checksums_section_when_existing do |c| c.checksum gem_repo4, "awesome_print", "1.0" c.no_checksum "bundle-check-issue", "9999" c.checksum gem_repo2, "dex-dis-engine", "1.0" end - expect(File.read(tmp("bundle-check-issue/Gemfile.lock"))).to eq <<~L PATH remote: . specs: |