lib/rubocop/cop/rspec/no_expectation_example.rb in rubocop-rspec-2.14.1 vs lib/rubocop/cop/rspec/no_expectation_example.rb in rubocop-rspec-2.14.2
- old
+ new
@@ -75,10 +75,10 @@
# @param [RuboCop::AST::Node] node
# @return [Boolean]
def_node_search :includes_expectation?, <<~PATTERN
{
#{send_pattern('#Expectations.all')}
- (send nil? `#matches_allowed_pattern?)
+ (send nil? `#matches_allowed_pattern? ...)
}
PATTERN
# @!method includes_skip_example?(node)
# @param [RuboCop::AST::Node] node