lib/neo4jr/configuration.rb in neo4jr-simple-0.1.0 vs lib/neo4jr/configuration.rb in neo4jr-simple-0.1.3
- old
+ new
@@ -1,9 +1,9 @@
module Neo4jr
class Configuration
class << self
def database_path
- @database_path ||= 'tmp-neo4j-db'
+ @database_path ||= Dir.mktmpdir #Dir.tmpdir + '/tmp-neo4j-db'
end
def database_path=(value)
@database_path = value
end
\ No newline at end of file