lib/rubocop/cop/rspec/stubbed_mock.rb in rubocop-rspec-2.16.0 vs lib/rubocop/cop/rspec/stubbed_mock.rb in rubocop-rspec-2.17.0

- old
+ new

@@ -89,10 +89,10 @@ # receive(:foo) { 'bar' } # # @param node [RuboCop::AST::Node] # @yield [RuboCop::AST::Node] matcher def_node_matcher :matcher_with_return_block, <<~PATTERN - (block #message_expectation? args _) # receive(:foo) { 'bar' } + (block #message_expectation? (args) _) # receive(:foo) { 'bar' } PATTERN # @!method matcher_with_hash(node) # Match matcher with a configured response defined as a hash #