diff options
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/form_helper_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
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('<input checked="checked" id="post_title" name="post[title]" size="30" type="radio" value="Hello World" />', + assert_equal('<input checked="checked" id="post_title" name="post[title]" type="radio" value="Hello World" />', radio_button("post", "title", "Hello World") ) - assert_equal('<input id="post_title" name="post[title]" size="30" type="radio" value="Goodbye World" />', + assert_equal('<input id="post_title" name="post[title]" type="radio" value="Goodbye World" />', radio_button("post", "title", "Goodbye World") ) end @@ -163,10 +163,10 @@ class FormHelperTest < Test::Unit::TestCase check_box("post[]", "secret") ) assert_equal( -"<input checked=\"checked\" id=\"post_#{pid}_title\" name=\"post[#{pid}][title]\" size=\"30\" type=\"radio\" value=\"Hello World\" />", +"<input checked=\"checked\" id=\"post_#{pid}_title\" name=\"post[#{pid}][title]\" type=\"radio\" value=\"Hello World\" />", radio_button("post[]", "title", "Hello World") ) - assert_equal("<input id=\"post_#{pid}_title\" name=\"post[#{pid}][title]\" size=\"30\" type=\"radio\" value=\"Goodbye World\" />", + assert_equal("<input id=\"post_#{pid}_title\" name=\"post[#{pid}][title]\" type=\"radio\" value=\"Goodbye World\" />", radio_button("post[]", "title", "Goodbye World") ) end |