lib/rubocop/rspec/example_group.rb in rubocop-rspec-1.18.0 vs lib/rubocop/rspec/example_group.rb in rubocop-rspec-1.19.0

- old
+ new

@@ -16,10 +16,10 @@ # @!method hook(node) # # Detect if node is `before`, `after`, `around` def_node_matcher :hook, <<-PATTERN - (block {$(send nil #{Hooks::ALL.node_pattern_union} ...)} ...) + (block {$(send nil? #{Hooks::ALL.node_pattern_union} ...)} ...) PATTERN def_node_matcher :subject, Subject::ALL.block_pattern def subjects