summaryrefslogtreecommitdiff
path: root/test/setup.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2015-08-24 12:17:07 +0200
committerChristoph Helma <helma@in-silico.ch>2015-08-24 12:17:07 +0200
commit8c6c59980bc82dc2177147f2fe34adf8bfbc1539 (patch)
tree35fb78389a9ac2d54d4d2190c41a8269a754f205 /test/setup.rb
parent398d8ca681db3aa0a0552eee026705e60dd8449d (diff)
Model::Prediction with tests, initial indexesv0.0.8
Diffstat (limited to 'test/setup.rb')
-rw-r--r--test/setup.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/setup.rb b/test/setup.rb
index 379fa53..538853d 100644
--- a/test/setup.rb
+++ b/test/setup.rb
@@ -3,4 +3,5 @@ require_relative '../lib/lazar.rb'
include OpenTox
TEST_DIR ||= File.expand_path(File.dirname(__FILE__))
DATA_DIR ||= File.join(TEST_DIR,"data")
-#$mongo.database.drop
+$mongo.database.drop
+$gridfs = $mongo.database.fs # recreate GridFS indexes