diff options
author | David Trasbo <me@dtrasbo.com> | 2010-06-26 22:36:05 +0200 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-06-26 18:45:20 -0700 |
commit | 0abf4b07462d4383691581bc38cd6bf1b5887281 (patch) | |
tree | 3047a02cffd0def563485614e914b290115f58b6 /actionpack | |
parent | 8f358f397f11a87c649f76644690461f0017cbff (diff) | |
download | rails-0abf4b07462d4383691581bc38cd6bf1b5887281.tar.gz rails-0abf4b07462d4383691581bc38cd6bf1b5887281.tar.bz2 rails-0abf4b07462d4383691581bc38cd6bf1b5887281.zip |
Change reference to Test::Unit::AssertionFailedError to the generic ActiveSupport::TestCase::Assertion [#4987 state:commited]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'actionpack')
-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 |