diff options
author | Christoph Helma <helma@in-silico.ch> | 2016-09-26 15:31:01 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2016-09-26 15:32:07 +0200 |
commit | 082638e0abbb48316553e02957a24823b18289c9 (patch) | |
tree | 5c310b8093ffdf348d7e277b13021e93b5a42c73 | |
parent | 96ca0eec8bfce8f95ea1d36de7ede61f7c12e517 (diff) |
resource_not_found_error changed to not_found_error to match new RestClient errors
-rw-r--r-- | test/error.rb | 4 | ||||
-rw-r--r-- | test/setup.rb | 4 |
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 |