lib/rubocop/rspec/language/node_pattern.rb in rubocop-rspec-1.9.1 vs lib/rubocop/rspec/language/node_pattern.rb in rubocop-rspec-1.10.0
- old
+ new
@@ -6,9 +6,10 @@
# Common node matchers used for matching against the rspec DSL
module NodePattern
extend RuboCop::NodePattern::Macros
def_node_matcher :example_group?, ExampleGroups::ALL.block_pattern
+ def_node_matcher :example?, Examples::ALL.block_pattern
end
end
end
end