MiniTest compat: don't check for test/unit's assertion in particular

This commit is contained in:
Jeremy Kemper 2008-11-22 18:19:42 -08:00
parent a75354fae1
commit 51383c57a2
1 changed files with 1 additions and 1 deletions

View File

@ -1240,7 +1240,7 @@ class ResourcesTest < ActionController::TestCase
end
def assert_not_recognizes(expected_options, path)
assert_raise ActionController::RoutingError, ActionController::MethodNotAllowed, Test::Unit::AssertionFailedError do
assert_raise ActionController::RoutingError, ActionController::MethodNotAllowed, Assertion do
assert_recognizes(expected_options, path)
end
end