Skip to content
Browse files

Change reference to Test::Unit::AssertionFailedError to the generic A…

…ctiveSupport::TestCase::Assertion [#4987 state:commited]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
1 parent 8f358f3 commit 0abf4b07462d4383691581bc38cd6bf1b5887281 @dtrasbo dtrasbo committed with jeremy
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/template/test_case_test.rb
View
2 actionpack/test/template/test_case_test.rb
@@ -248,7 +248,7 @@ class RenderTemplateTest < ActionView::TestCase
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

0 comments on commit 0abf4b0

Please sign in to comment.
Something went wrong with that request. Please try again.