class Neo4j::RSpec::Matchers::HasN::With::RelationshipClassMatcher

Public Instance Methods

description() click to toggle source
# File lib/neo4j/rspec/matchers/has_n.rb, line 60
def description
  "with #{expected} relationship class"
end
match(association) click to toggle source
# File lib/neo4j/rspec/matchers/has_n.rb, line 56
def match(association)
  association.relationship_class_name.to_sym == expected.to_sym
end