Class: NeoRest::TestHelper
- Inherits:
-
Object
- Object
- NeoRest::TestHelper
- Defined in:
- lib/NeoRest/test_helper.rb
Class Method Summary collapse
Class Method Details
.clean_the_whole_database(delete_key) ⇒ Object
8 9 10 11 |
# File 'lib/NeoRest/test_helper.rb', line 8 def clean_the_whole_database delete_key # this needs the following plugin installed in the Neo server: https://github.com/jexp/neo4j-clean-remote-db-addon RestClient.delete( "http://#{$neo_host}:#{$neo_port}/cleandb/#{delete_key}" ) end |