From 8fd891c837f698eafaa584e534907c199b413267 Mon Sep 17 00:00:00 2001 From: David Trasbo Date: Sat, 26 Jun 2010 22:36:05 +0200 Subject: [PATCH] Change reference to Test::Unit::AssertionFailedError to the generic ActiveSupport::TestCase::Assertion [#4987 state:commited] --- actionpack/test/template/test_case_test.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/actionpack/test/template/test_case_test.rb b/actionpack/test/template/test_case_test.rb index a747f46..a0c46f8 100644 --- a/actionpack/test/template/test_case_test.rb +++ b/actionpack/test/template/test_case_test.rb @@ -248,7 +248,7 @@ module ActionView test "supports specifying locals (failing)" do controller.controller_path = "test" render(:template => "test/calling_partial_with_layout") - assert_raise Test::Unit::AssertionFailedError, /Somebody else.*David/m do + assert_raise ActiveSupport::TestCase::Assertion, /Somebody else.*David/m do assert_template :partial => "_partial_for_use_in_layout", :locals => { :name => "Somebody Else" } end end -- 1.7.1