lib/rubocop/rspec/example_group.rb in rubocop-rspec-1.12.0 vs lib/rubocop/rspec/example_group.rb in rubocop-rspec-1.13.0
- old
+ new
@@ -15,10 +15,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 examples
examples_in_scope(node).map(&Example.public_method(:new))
end