From a782aa5a5c30ac471c97a99d12767b4bc2cd8d9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Sun, 29 Apr 2012 12:32:08 -0300 Subject: Fix the build. * The method for persisted records in 3-2-branch is 'PUT' * size is generated by default in inputs --- actionpack/test/template/form_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/test/template') diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index 3f459bad2e..19af01e2c8 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -2041,8 +2041,8 @@ class FormHelperTest < ActionView::TestCase concat f.text_field(:title) end - expected = whole_form('/posts/123', 'edit_post_123', 'edit_post', :method => 'patch') do - "
" + expected = whole_form('/posts/123', 'edit_post_123', 'edit_post', :method => 'put') do + "
" end assert_dom_equal expected, output_buffer -- cgit v1.2.3