Permalink
Browse files

No need to use </form> here. It's already in whole_form block

  • Loading branch information...
1 parent 4d3a73e commit abbd27fad8065323d0c3c5f2849499ce71e9a7d9 @arunagw arunagw committed Sep 10, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 actionpack/test/template/form_helper_test.rb
@@ -698,8 +698,7 @@ def test_form_for_with_isolated_namespaced_model
expected = whole_form("/posts/44", "edit_post_44" , "edit_post", :method => "put") do
"<input name='post[title]' size='30' type='text' id='post_title' value='And his name will be forty and four.' />" +
- "<input name='commit' type='submit' value='Edit post' />" +
- "</form>"
+ "<input name='commit' type='submit' value='Edit post' />"
end
assert_dom_equal expected, output_buffer

0 comments on commit abbd27f

Please sign in to comment.