spec/support/command_monitoring.rb
# Determine if an array matches.
#
# @example Does the array match?
#   matchable.array_matches?(actual, expected)
#
# @param [ Array ] actual The actual array.
# @param [ Array ] expected The expected array.
#
# @return [ true, false ] If the array matches.
#
# @since 2.1.0
Determine if an array matches.
Determine if an array matches .
def array_matches?(actual, expected)
        expected.each_with_index do |value, i|
          if actual
            return false unless data_matches?(actual[i], value)
          end
        end
      end
def array_matches? ( actual , expected ) expected . each_with_index do | value , i | if actual return false unless data_matches? ( actual [ i ] , value ) end end end
Determine if an array matches.
Determine if an array matches .
# @todo: Durran: fix for kill cursors replies
If the array matches.
If the array matches .
 true, false 
actual
expected
expected The expected array.
expected The expected array .
example
Does the array match. matchable.array_matches?(actual, expected)
Does the array match . matchable . array_matches? ( actual expected )
since
None