test/setup.rb in lazar-0.9.3 vs test/setup.rb in lazar-1.0.0

- old
+ new

@@ -1,9 +1,13 @@ ENV["LAZAR_ENV"] = "development" require 'minitest/autorun' -#require_relative '../lib/lazar.rb' -require 'lazar' +require_relative '../lib/lazar.rb' +#require 'lazar' include OpenTox TEST_DIR ||= File.expand_path(File.dirname(__FILE__)) DATA_DIR ||= File.join(TEST_DIR,"data") -$mongo.database.drop -$gridfs = $mongo.database.fs +training_dataset = Dataset.where(:name => "Protein Corona Fingerprinting Predicts the Cellular Interaction of Gold and Silver Nanoparticles").first +unless training_dataset + Import::Enanomapper.import File.join(File.dirname(__FILE__),"data","enm") +end +#$mongo.database.drop +#$gridfs = $mongo.database.fs