summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/error.rb4
-rw-r--r--test/setup.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/error.rb b/test/error.rb
index 16a7077..eeac735 100644
--- a/test/error.rb
+++ b/test/error.rb
@@ -8,8 +8,8 @@ class ErrorTest < MiniTest::Test
end
def test_error_methods
- assert_raises OpenTox::ResourceNotFoundError do
- resource_not_found_error "This is a test"
+ assert_raises OpenTox::NotFoundError do
+ not_found_error "This is a test"
end
end
diff --git a/test/setup.rb b/test/setup.rb
index 6c97282..e7c32b4 100644
--- a/test/setup.rb
+++ b/test/setup.rb
@@ -5,5 +5,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
-#$gridfs = $mongo.database.fs
+$mongo.database.drop
+$gridfs = $mongo.database.fs