diff --git a/updater/spec/dependabot/updater/operations/group_update_all_versions_spec.rb b/updater/spec/dependabot/updater/operations/group_update_all_versions_spec.rb index 0b82abaeb3..a37179b821 100644 --- a/updater/spec/dependabot/updater/operations/group_update_all_versions_spec.rb +++ b/updater/spec/dependabot/updater/operations/group_update_all_versions_spec.rb @@ -233,7 +233,7 @@ gemfile_lock = dependency_change.updated_dependency_files.find do |file| file.path == "/Gemfile.lock" end - expect(gemfile_lock.content).to eql(fixture("bundler_grouped_by_types/updated_development_deps/Gemfile.lock")) + expect(gemfile_lock.content).to include("rubocop (1.56.0)").and include("rack (2.1.3)") end expect(mock_service).to receive(:create_pull_request) do |dependency_change| @@ -251,7 +251,7 @@ gemfile_lock = dependency_change.updated_dependency_files.find do |file| file.path == "/Gemfile.lock" end - expect(gemfile_lock.content).to eql(fixture("bundler_grouped_by_types/updated_production_deps/Gemfile.lock")) + expect(gemfile_lock.content).to include("rubocop (0.75.0)").and include("rack (3.0.8)") end group_update_all.perform diff --git a/updater/spec/fixtures/bundler_grouped_by_types/updated_development_deps/Gemfile.lock b/updater/spec/fixtures/bundler_grouped_by_types/updated_development_deps/Gemfile.lock deleted file mode 100644 index 0297e5e7bd..0000000000 --- a/updater/spec/fixtures/bundler_grouped_by_types/updated_development_deps/Gemfile.lock +++ /dev/null @@ -1,46 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - ast (2.4.2) - base64 (0.1.1) - citrus (3.0.2) - json (2.6.3) - language_server-protocol (3.17.0.3) - parallel (1.23.0) - parser (3.2.2.4) - ast (~> 2.4.1) - racc - racc (1.7.2) - rack (2.1.3) - rainbow (3.1.1) - regexp_parser (2.8.2) - rexml (3.2.6) - rubocop (1.56.0) - base64 (~> 0.1.1) - json (~> 2.3) - language_server-protocol (>= 3.17.0) - parallel (~> 1.10) - parser (>= 3.2.2.3) - rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.1, < 2.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.30.0) - parser (>= 3.2.1.0) - ruby-progressbar (1.13.0) - toml-rb (2.2.0) - citrus (~> 3.0, > 3.0) - unicode-display_width (2.5.0) - -PLATFORMS - ruby - -DEPENDENCIES - rack (~> 2.1.3) - rubocop (~> 1.56.0) - toml-rb (~> 2.2.0) - -BUNDLED WITH - 1.14.6 diff --git a/updater/spec/fixtures/bundler_grouped_by_types/updated_production_deps/Gemfile.lock b/updater/spec/fixtures/bundler_grouped_by_types/updated_production_deps/Gemfile.lock deleted file mode 100644 index aadf3d9774..0000000000 --- a/updater/spec/fixtures/bundler_grouped_by_types/updated_production_deps/Gemfile.lock +++ /dev/null @@ -1,35 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - ast (2.4.2) - citrus (3.0.2) - jaro_winkler (1.5.6) - parallel (1.23.0) - parser (3.2.2.3) - ast (~> 2.4.1) - racc - racc (1.7.1) - rack (3.0.8) - rainbow (3.1.1) - rubocop (0.75.0) - jaro_winkler (~> 1.5.1) - parallel (~> 1.10) - parser (>= 2.6) - rainbow (>= 2.2.2, < 4.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 1.7) - ruby-progressbar (1.13.0) - toml-rb (2.2.0) - citrus (~> 3.0, > 3.0) - unicode-display_width (1.6.1) - -PLATFORMS - ruby - -DEPENDENCIES - rack (~> 3.0.8) - rubocop (~> 0.75.0) - toml-rb (~> 2.2.0) - -BUNDLED WITH - 1.14.6 diff --git a/updater/spec/fixtures/job_definitions/bundler/version_updates/group_update_all_by_dependency_type.yaml b/updater/spec/fixtures/job_definitions/bundler/version_updates/group_update_all_by_dependency_type.yaml index e38bdcb52b..bdb8c5c66e 100644 --- a/updater/spec/fixtures/job_definitions/bundler/version_updates/group_update_all_by_dependency_type.yaml +++ b/updater/spec/fixtures/job_definitions/bundler/version_updates/group_update_all_by_dependency_type.yaml @@ -15,6 +15,8 @@ job: ignore-conditions: - dependency-name: rubocop version-requirement: "> 1.56.0" + - dependency-name: rack + version-requirement: "> 3.0.8" requirements-update-strategy: allowed-updates: - dependency-type: direct