lib/rubocop/rspec/language/node_pattern.rb in rubocop-rspec-1.38.1 vs lib/rubocop/rspec/language/node_pattern.rb in rubocop-rspec-1.39.0
- old
+ new
@@ -15,10 +15,10 @@
def_node_matcher :example?, Examples::ALL.block_pattern
def_node_matcher :hook?, Hooks::ALL.block_pattern
- def_node_matcher :let?, Helpers::ALL.block_pattern
+ def_node_matcher :let?, Helpers::ALL.block_or_block_pass_pattern
def_node_matcher :subject?, Subject::ALL.block_pattern
end
end
end