DatabaseCleaner/database_cleaner — pull request #314 by subvertallchris (2014-12-31 23:31:48+00:00)
Title: clears neo4j indexes and constraints

Fully cleaning out a Neo4j database also requires dropping indexes and constraints. We haven't added support for querying the endpoints that provide the complete index/constraint lists in the neo4j-core gem, though we should add it into the next version. In the meantime, this uses Net/HTTP to perform the query, then we do the rest through Cypher.