Module: RoadForest::Testing::MatcherMethods

Defined in:
lib/roadforest/test-support/matchers.rb

Instance Method Summary collapse

Instance Method Details

#be_equivalent_to(list) ⇒ Object



88
89
90
# File 'lib/roadforest/test-support/matchers.rb', line 88

def be_equivalent_to(list)
  ListEquivalence.new(list)
end

#match_query(pattern = nil, &block) ⇒ Object



84
85
86
# File 'lib/roadforest/test-support/matchers.rb', line 84

def match_query(pattern = nil, &block)
  MatchesQuery.new(pattern, &block)
end