Skip to content

Commit

Permalink
Fix typo in method name
Browse files Browse the repository at this point in the history
  • Loading branch information
franzliedke committed Oct 17, 2023
1 parent 1c42da1 commit a39b57b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/rubocop/cop/rspec/mixin/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ module Metadata
def on_block(node)
rspec_configure(node) do |block_var|
metadata_in_block(node, block_var) do |metadata_arguments|
on_matadata_arguments(metadata_arguments)
on_metadata_arguments(metadata_arguments)
end
end

rspec_metadata(node) do |metadata_arguments|
on_matadata_arguments(metadata_arguments)
on_metadata_arguments(metadata_arguments)
end
end
alias on_numblock on_block
Expand All @@ -46,7 +46,7 @@ def on_metadata(_symbols, _hash)

private

def on_matadata_arguments(metadata_arguments)
def on_metadata_arguments(metadata_arguments)
*symbols, last = metadata_arguments
hash = nil
case last&.type
Expand Down

0 comments on commit a39b57b

Please sign in to comment.