From b0bfcca16efff329e0cfaebc18a7debed126473b Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 24 Mar 2008 21:32:50 +0000 Subject: Fixed that FormHelper#radio_button would produce invalid ids (closes #11298) [harlancrystal] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/form_helper_test.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionpack/test') diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index b788a9e2f9..766e88375b 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -187,6 +187,9 @@ class FormHelperTest < Test::Unit::TestCase assert_dom_equal('', radio_button("post", "title", "Goodbye World") ) + assert_dom_equal('', + radio_button("item[subobject]", "title", "inside world") + ) end def test_radio_button_is_checked_with_integers -- cgit v1.2.3