diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-10 09:00:19 -0700 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-10 09:00:19 -0700 |
commit | 365aaeac35034fa9d29b4533879db6aa2991e25d (patch) | |
tree | 225a930681861c7be4d5c507184f37c0c2eeb427 | |
parent | 4d3a73e5ddcd0ddae8d466e55e1c7c8cdb280343 (diff) | |
parent | abbd27fad8065323d0c3c5f2849499ce71e9a7d9 (diff) | |
download | rails-365aaeac35034fa9d29b4533879db6aa2991e25d.tar.gz rails-365aaeac35034fa9d29b4533879db6aa2991e25d.tar.bz2 rails-365aaeac35034fa9d29b4533879db6aa2991e25d.zip |
Merge pull request #2968 from arunagw/form_helper_test
No need to use </form> here. It's already in whole_form block
-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 |