Permalink
Browse files

Ruby 1.9: remove dep on T::U::AssertionFailedError

  • Loading branch information...
1 parent 9abab5b commit c27cb5e1d469c75252f6d9803fc95b44dcdaaee6 @jeremy jeremy committed Nov 14, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/controller/dom_assertions_test.rb
View
4 actionpack/test/controller/dom_assertions_test.rb
@@ -48,6 +48,6 @@ def setup
private
def assert_assertion_fails
- assert_raise(Test::Unit::AssertionFailedError) { yield }
+ assert_raise(ActiveSupport::TestCase::Assertion) { yield }
end
-end
+end

0 comments on commit c27cb5e

Please sign in to comment.