Skip to content

Commit

Permalink
Update spec/rubocop/cop/rails/compact_blank_spec.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Koichi ITO <koic.ito@gmail.com>
  • Loading branch information
r7kamura and koic committed Aug 6, 2022
1 parent 54c123a commit 8a02019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rubocop/cop/rails/compact_blank_spec.rb
Expand Up @@ -68,7 +68,7 @@
RUBY
end

it 'registers and corrects an offense when using reject(&:blank?) in block' do
it 'registers and corrects an offense when using `reject(&:blank?)` in block' do
expect_offense(<<~RUBY)
hash.transform_values { |value| value.reject(&:blank?) }
^^^^^^^^^^^^^^^^ Use `compact_blank` instead.
Expand Down

0 comments on commit 8a02019

Please sign in to comment.