Browse files

Merge pull request #2968 from arunagw/form_helper_test

No need to use </form> here. It's already in whole_form block
  • Loading branch information...
2 parents 4d3a73e + abbd27f commit 365aaeac35034fa9d29b4533879db6aa2991e25d @vijaydev vijaydev committed Sep 10, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 actionpack/test/template/form_helper_test.rb
View
3 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 365aaea

Please sign in to comment.