From a6c5cc2377cbc478cecde7e419c41de5f06ec4e1 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Tue, 7 Jun 2011 02:39:44 +0200 Subject: Added missing assert to test checking form with namespaced isolated model and fixed helpers to work correctly in such case --- actionpack/test/template/form_helper_test.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'actionpack/test/template') diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index f2a49f7a68..5296556fe6 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -696,13 +696,13 @@ class FormHelperTest < ActionView::TestCase concat f.submit('Edit post') end - expected = - "
" + - snowman + - "" + + expected = whole_form("/posts/44", "edit_post_44" , "edit_post", :method => "put") do "" + - "" + + "" + "
" + end + + assert_dom_equal expected, output_buffer end def test_form_for_with_symbol_object_name -- cgit v1.2.3