From c069f361f090790b9769b349eefa260e57d4c63b Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 11 May 2006 16:36:59 +0000 Subject: form.text_area handles the :size option just like the original text_area (:size => '60x10' becomes cols="60" rows="10") git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/form_helper_test.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'actionpack/test/template') diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index a40a1ff662..b0ee744299 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -143,6 +143,13 @@ class FormHelperTest < Test::Unit::TestCase ) end + def test_text_area_with_size_option + assert_dom_equal( + '', + text_area("post", "body", :size => "183x820") + ) + end + def test_date_selects assert_dom_equal( '', -- cgit v1.2.3