class Neo4j::RSpec::Matchers::HasN::With::DirectionMatcher

Public Instance Methods

description() click to toggle source
# File lib/neo4j/rspec/matchers/has_n.rb, line 19
def description
  "with #{expected} direction"
end
match(association) click to toggle source
# File lib/neo4j/rspec/matchers/has_n.rb, line 15
def match(association)
  expected == association.direction
end