From 4960d36c9b453fa4a5bd6f483f1b8ae9d81e5a55 Mon Sep 17 00:00:00 2001 From: gebele Date: Thu, 6 Jul 2017 08:44:18 +0000 Subject: cleanup test db --- test/setup.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/setup.rb b/test/setup.rb index c1cddfb..fbeb2d8 100644 --- a/test/setup.rb +++ b/test/setup.rb @@ -3,8 +3,8 @@ require 'minitest/autorun' require_relative '../lib/lazar.rb' #require 'lazar' include OpenTox -#$mongo.database.drop -#$gridfs = $mongo.database.fs # recreate GridFS indexes +$mongo.database.drop +$gridfs = $mongo.database.fs # recreate GridFS indexes TEST_DIR ||= File.expand_path(File.dirname(__FILE__)) DATA_DIR ||= File.join(TEST_DIR,"data") training_dataset = Dataset.where(:name => "Protein Corona Fingerprinting Predicts the Cellular Interaction of Gold and Silver Nanoparticles").first -- cgit v1.2.3