From ac4b4701c0dc94375956f320545bff2ebe0ba832 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 10 Apr 2005 15:11:15 +0000 Subject: Fixed that radio buttons shouldn't have a default size attribute #1074 [hendrik@mans.de] Added ActionView::Helpers::InstanceTag::DEFAULT_RADIO_OPTIONS that contains a hash of default options for radio buttons #1074 [hendrik@mans.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/form_helper_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'actionpack/test/template/form_helper_test.rb') diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index db5195e272..3f8033af1d 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -79,10 +79,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 @@ -163,10 +163,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