Bump rubocop from 1.57.2 to 1.58.0 and fix offenses

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.57.2 to 1.58.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.57.2...v1.58.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2023-12-04 03:12:30 +00:00
committed by Sebastian Serth
parent be3264ac25
commit bcb6409126
6 changed files with 10 additions and 10 deletions

View File

@ -25,7 +25,7 @@ RSpec.describe Runner::Strategy::Poseidon::Connection do
shared_examples 'calls a message handler' do
it 'calls the corresponding handler' do
handler = "handle_#{message[:type]}".to_sym
handler = :"handle_#{message[:type]}"
expect(connection).to receive(handler)
process_message
end