lib/rubocop/cop/rspec/multiple_expectations.rb in rubocop-rspec-2.18.1 vs lib/rubocop/cop/rspec/multiple_expectations.rb in rubocop-rspec-2.19.0

- old
+ new

@@ -76,10 +76,11 @@ (send _ _ ... (hash <(pair (sym :aggregate_failures) %1) ...>)) } ...) PATTERN # @!method expect?(node) - def_node_matcher :expect?, send_pattern('#Expectations.all') + def_node_matcher :expect?, '(send nil? #Expectations.all ...)' + # @!method aggregate_failures_block?(node) def_node_matcher :aggregate_failures_block?, <<-PATTERN (block (send nil? :aggregate_failures ...) ...) PATTERN