lib/rubocop/rspec/example_group.rb in rubocop-rspec-1.27.0 vs lib/rubocop/rspec/example_group.rb in rubocop-rspec-1.28.0
- old
+ new
@@ -12,16 +12,9 @@
#
def_node_matcher :scope_change?, (
ExampleGroups::ALL + SharedGroups::ALL + Includes::ALL
).block_pattern
- # @!method hook?(node)
- #
- # Detect if node is `before`, `after`, `around`
- def_node_matcher :hook?, Hooks::ALL.block_pattern
-
- def_node_matcher :subject?, Subject::ALL.block_pattern
-
def subjects
subjects_in_scope(node)
end
def examples