Fix Rspec/AnyInstanceOf offenses in ci_shared_runner_warnings_spec
What does this MR do and why?
This is a follow-up to !105909 (comment 1208615220) to add back in allow_next_instance_of
in ee/spec/features/ci_shared_runner_warnings_spec.rb
to help resolve RSpec/AnyInstanceOf Rubocop offenses.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.