Sha256: 4af8beaaf2647eca0cdfedff2eaa0e3ad6900e3d716a868421c4869cf005be89
Contents?: true
Size: 246 Bytes
Versions: 4
Compression:
Stored size: 246 Bytes
Contents
RSpec::Matchers.define :have_edge do |edge| match do |actual| edges = actual.each_edge edge.each do |k,v| expect(edges.any? {|e| e.node_one == GraphViz.escape(k) && e.node_two == GraphViz.escape(v)}).to eq(true) end end end
Version data entries
4 entries across 4 versions & 1 rubygems