module RoadForest::Testing::MatcherMethods

Public Instance Methods

be_equivalent_graph(graph, info = nil) click to toggle source
# File lib/roadforest/test-support/matchers.rb, line 277
def be_equivalent_graph(graph, info = nil)
  BeEquivalentGraph.new(graph, info)
end
be_equivalent_to(list) click to toggle source
# File lib/roadforest/test-support/matchers.rb, line 281
def be_equivalent_to(list)
  ListEquivalence.new(list)
end
have_xpath(xpath, value = true, trace = nil) click to toggle source
# File lib/roadforest/test-support/matchers.rb, line 269
def have_xpath(xpath, value = true, trace = nil)
  HaveXpath.new(xpath, value, trace || debug)
end
match_query(pattern = nil, &block) click to toggle source
# File lib/roadforest/test-support/matchers.rb, line 273
def match_query(pattern = nil, &block)
  MatchesQuery.new(pattern, &block)
end
produce(expected, info) click to toggle source
# File lib/roadforest/test-support/matchers.rb, line 265
def produce(expected, info)
  Produces.new(expected, info)
end