Permalink
Browse files

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

  • Loading branch information...
1 parent a75354f commit 51383c57a2f556d1ea44c93deb68e7b70f8c6e35 @jeremy jeremy committed Nov 23, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 51383c5

Please sign in to comment.