Skip to content

Commit

Permalink
additional Cypher Test
Browse files Browse the repository at this point in the history
  • Loading branch information
cschmidt committed Jan 31, 2013
1 parent b551f58 commit 0e46de1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/scala/org/neo4j/scala/unittest/CypherTest.scala
Expand Up @@ -50,5 +50,15 @@ class CypherSpec extends SpecificationWithJUnit with Neo4jWrapper with Singleton
success
}

"be able to execute (*) query" in {

val query = """start n=node(*) where n.name?="Neo" return n"""

val typedResult = query.execute.asCC[Test_Matrix]("n")
typedResult.toList.size must be_>(0)

success
}

}
}

0 comments on commit 0e46de1

Please sign in to comment.