spec/rest_helper.rb
Delete the temp-database,
initialize classes using etl (spec/etl/*.json)
and initialize orientDB without reading the database-classes (this will be tested!)
Delete the temp-database,
initialize classes using etl (spec/etl.json)
and initialize orientDB without reading the database-classes (this will be tested!)
Delete the temp - database initialize classes using etl ( spec / etl . json ) and initialize orientDB without reading the database - classes ( this will be tested! )
def read_etl_data
  ActiveOrient.database = 'temp'
  destroy_database
  Dir[ "/home/topo/activeorient/spec/etl/*json" ].each{| f | `cd /opt/orientdb/bin; ./oetl.sh #{f} ` }
  ActiveOrient.database = 'temp'
  ActiveOrient::Model.keep_models_without_file = nil
  initialize_database
end
def read_etl_data ActiveOrient . database = 'temp' destroy_database Dir [ "/home/topo/activeorient/spec/etl/*json" ] . each { | f | ` cd /opt/orientdb/bin; ./oetl.sh  #{ f } ` } ActiveOrient . database = 'temp' ActiveOrient :: Model . keep_models_without_file = nil initialize_database end
Delete the temp-database,
initialize classes using etl (spec/etl/*.json)
and initialize orientDB without reading the database-classes (this will be tested!)
Delete the temp - database initialize classes using etl ( spec / etl / * . json ) and initialize orientDB without reading the database - classes ( this will be tested! )
### TODO:: change to custom paths   ###     CHANGE CUSTOM PATHS ###	  absolute path to the spec-etl-dir                       place to etl-bin of orientdb