Skip to content

Commit

Permalink
Correct for Layout/ExtraSpacing
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Nov 14, 2023
1 parent fe95441 commit dde8be7
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 dde8be7

Please sign in to comment.