summaryrefslogtreecommitdiff
path: root/test/error.rb
diff options
context:
space:
mode:
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