diff options
author | Arun Agrawal <arunagw@gmail.com> | 2011-09-10 12:22:29 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2011-09-10 12:22:29 +0530 |
commit | abbd27fad8065323d0c3c5f2849499ce71e9a7d9 (patch) | |
tree | 225a930681861c7be4d5c507184f37c0c2eeb427 /actionpack/test | |
parent | 4d3a73e5ddcd0ddae8d466e55e1c7c8cdb280343 (diff) | |
download | rails-abbd27fad8065323d0c3c5f2849499ce71e9a7d9.tar.gz rails-abbd27fad8065323d0c3c5f2849499ce71e9a7d9.tar.bz2 rails-abbd27fad8065323d0c3c5f2849499ce71e9a7d9.zip |
No need to use </form> here. It's already in whole_form block
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/form_helper_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index f898c22e1e..e36d032f6c 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -698,8 +698,7 @@ class FormHelperTest < ActionView::TestCase 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 |