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