lib/rubocop/rspec/language/node_pattern.rb in rubocop-rspec-1.27.0 vs lib/rubocop/rspec/language/node_pattern.rb in rubocop-rspec-1.28.0

- old
+ new

@@ -12,9 +12,15 @@ def_node_matcher :example_group_with_body?, <<-PATTERN (block #{ExampleGroups::ALL.send_pattern} args [!nil?]) PATTERN 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 :subject?, Subject::ALL.block_pattern end end end end