summaryrefslogtreecommitdiff
path: root/test/error.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2016-09-26 15:31:01 +0200
committerChristoph Helma <helma@in-silico.ch>2016-09-26 15:32:07 +0200
commit082638e0abbb48316553e02957a24823b18289c9 (patch)
tree5c310b8093ffdf348d7e277b13021e93b5a42c73 /test/error.rb
parent96ca0eec8bfce8f95ea1d36de7ede61f7c12e517 (diff)
resource_not_found_error changed to not_found_error to match new RestClient errors
Diffstat (limited to 'test/error.rb')
-rw-r--r--test/error.rb4
1 files changed, 2 insertions, 2 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