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:
parent
a75354fae1
commit
51383c57a2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue