Skip to content

Commit

Permalink
Merge pull request #1740 from rubocop/correct_offense
Browse files Browse the repository at this point in the history
Correct for `Layout/ExtraSpacing`
  • Loading branch information
Darhazer authored Nov 14, 2023
2 parents fe95441 + dde8be7 commit 8dd01d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/rspec/context_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ContextMethod < Base
...)
PATTERN

def on_block(node) # rubocop:disable InternalAffairs/NumblockHandler
def on_block(node) # rubocop:disable InternalAffairs/NumblockHandler
context_method(node) do |context|
add_offense(context) do |corrector|
corrector.replace(node.send_node.loc.selector, 'describe')
Expand Down

0 comments on commit 8dd01d1

Please sign in to comment.