Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
No need to use </form> here. It's already in whole_form block
  • Loading branch information
arunagw committed Sep 10, 2011
1 parent 4d3a73e commit abbd27f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions actionpack/test/template/form_helper_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit abbd27f

Please sign in to comment.