1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

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