Fix Style/OptionalBooleanParameter cop (#34968)

This commit is contained in:
Matt Jankowski 2025-06-10 04:17:35 -04:00 committed by GitHub
commit dc2cfd50a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 17 additions and 29 deletions

View file

@ -3,7 +3,7 @@
require 'rails_helper'
RSpec.describe Admin::SystemCheck::Message do
subject(:check) { described_class.new(:key_value, :value_value, :action_value, :critical_value) }
subject(:check) { described_class.new(:key_value, :value_value, :action_value, critical: :critical_value) }
it 'providers readers when initialized' do
expect(check.key).to eq :key_value