From 779d2b6498cc3759804a54f981030163c15f89a5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2026 19:16:27 +0000 Subject: [PATCH 1/2] Update dependency rubocop-rspec to '~> 3.10.0' --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index fb9ef53..c087b38 100644 --- a/Gemfile +++ b/Gemfile @@ -26,7 +26,7 @@ group :syntax do gem 'rubocop', '~> 1.87.0', require: false gem 'rubocop-performance', '~> 1.26.0', require: false gem 'rubocop-rake', '~> 0.7.0', require: false - gem 'rubocop-rspec', '~> 3.8.0', require: false + gem 'rubocop-rspec', '~> 3.10.0', require: false end group :system_tests do From 7b33b4e9030c0a80ce6061abb75fca6425da0ce9 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Sun, 7 Jun 2026 15:06:10 +0000 Subject: [PATCH 2/2] Fix rubocop-rspec 3.10 RSpec offenses Replace simple-regex match with include matcher and silence RSpec/Output cop on intentional logging puts in the acceptance helper. Co-Authored-By: Claude Opus 4.7 (1M context) --- spec/acceptance/suites/default/00_basic_test_spec.rb | 2 +- spec/spec_helper_acceptance.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/acceptance/suites/default/00_basic_test_spec.rb b/spec/acceptance/suites/default/00_basic_test_spec.rb index 39bce10..887965e 100644 --- a/spec/acceptance/suites/default/00_basic_test_spec.rb +++ b/spec/acceptance/suites/default/00_basic_test_spec.rb @@ -311,7 +311,7 @@ result = on(host, "yum install -y pupmod-simp-beakertest-#{bad_module_version}") # verify user told how to fix - expect(result.stdout).to match(%r{Manually execute the following to fix:}) + expect(result.stdout).to include('Manually execute the following to fix:') expect(result.stdout).to match(%r{#{Regexp.escape(install_fix_cmd)}}) end diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index a2c2563..a3eca92 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -17,9 +17,9 @@ # @fails if the specified repo file cannot be installed on host def copy_repo(_host, repo_filename, repo_name = 'simp_manual.repo') raise("File #{repo_filename} could not be found") unless File.exist?(repo_filename) - puts('=' * 72) - puts("Using repos defined in #{repo_filename}") - puts('=' * 72) + puts('=' * 72) # rubocop:disable RSpec/Output + puts("Using repos defined in #{repo_filename}") # rubocop:disable RSpec/Output + puts('=' * 72) # rubocop:disable RSpec/Output scp_to(hosts, repo_filename, "/etc/yum.repos.d/#{repo_name}") end