aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-04-14 11:53:47 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-04-14 11:56:58 -0300
commit38426458d682ceca7b00c9794f5680767e1a2d7c (patch)
tree801cd469f88747c59b028fe1da1bd6a8f9ca7812 /actionview/test/template
parentd40d39214c565076add65b41434b3f95cc0c3b0d (diff)
downloadrails-38426458d682ceca7b00c9794f5680767e1a2d7c.tar.gz
rails-38426458d682ceca7b00c9794f5680767e1a2d7c.tar.bz2
rails-38426458d682ceca7b00c9794f5680767e1a2d7c.zip
Use the index on hidden field
Diffstat (limited to 'actionview/test/template')
-rw-r--r--actionview/test/template/form_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/form_helper_test.rb b/actionview/test/template/form_helper_test.rb
index b5e9801776..155801dd02 100644
--- a/actionview/test/template/form_helper_test.rb
+++ b/actionview/test/template/form_helper_test.rb
@@ -1420,7 +1420,7 @@ class FormHelperTest < ActionView::TestCase
expected = whole_form("/posts", "new_post", "new_post") do
"<input checked='checked' id='post_1_tag_ids_1' name='post[1][tag_ids][]' type='checkbox' value='1' />" +
"<label for='post_1_tag_ids_1'>Tag 1</label>" +
- "<input name='post[tag_ids][]' type='hidden' value='' />"
+ "<input name='post[1][tag_ids][]' type='hidden' value='' />"
end
assert_dom_equal expected, output_buffer