Flowdock
method

matches?

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Matchers::MatchArray
matches?(actual) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/matchers/match_array.rb, line 11
      def matches?(actual)
        @actual = actual        
        @extra_items = difference_between_arrays(@actual, @expected)
        @missing_items = difference_between_arrays(@expected, @actual)
        @extra_items.empty? & @missing_items.empty?
      end
Register or log in to add new notes.