class Neo4j::RSpec::Matchers::HasN::With::OriginMatcher
Public Instance Methods
description()
click to toggle source
# File lib/neo4j/rspec/matchers/has_n.rb, line 29 def description "with #{expected} origin" end
match(association)
click to toggle source
# File lib/neo4j/rspec/matchers/has_n.rb, line 25 def match(association) expected == association.relationship_type end