diff options
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | 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 a747f46527..a0c46f8a59 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 |