From 98306bed054c320833d9d48229c68da10a38f3d0 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 30 Apr 2005 08:46:22 +0000 Subject: Fixed missing id uniqueness in FormTag#radio_button #1207 [Jarkko] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/form_helper_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'actionpack/test') diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index 28e8865f38..21b9c24344 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -82,10 +82,10 @@ class FormHelperTest < Test::Unit::TestCase end def test_radio_button - assert_equal('', + assert_equal('', radio_button("post", "title", "Hello World") ) - assert_equal('', + assert_equal('', radio_button("post", "title", "Goodbye World") ) end @@ -166,10 +166,10 @@ class FormHelperTest < Test::Unit::TestCase check_box("post[]", "secret") ) assert_equal( -"", +"", radio_button("post[]", "title", "Hello World") ) - assert_equal("", + assert_equal("", radio_button("post[]", "title", "Goodbye World") ) end -- cgit v1.2.3