Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 51383c57a2f556d1ea44c93deb68e7b70f8c6e35 1 parent a75354f
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/test/controller/resources_test.rb
View
2  actionpack/test/controller/resources_test.rb
@@ -1240,7 +1240,7 @@ def assert_whether_allowed(allowed, not_allowed, options, action, path, method)
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
Please sign in to comment.
Something went wrong with that request. Please try again.