Skip to content

Commit

Permalink
Change reference to Test::Unit::AssertionFailedError to the generic A…
Browse files Browse the repository at this point in the history
…ctiveSupport::TestCase::Assertion [#4987 state:commited]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information
David Trasbo authored and jeremy committed Jun 27, 2010
1 parent 8f358f3 commit 0abf4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/test/template/test_case_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 0abf4b0

Please sign in to comment.