From 8946804b8a73242ac59296782741fec2fb08e97a Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Wed, 12 Oct 2005 01:05:29 +0000 Subject: Make xyz_tag(..., :id => "foo") work again git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2535 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/form_tag_helper_test.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'actionpack/test') diff --git a/actionpack/test/template/form_tag_helper_test.rb b/actionpack/test/template/form_tag_helper_test.rb index 1fc84744e8..546d3e6772 100644 --- a/actionpack/test/template/form_tag_helper_test.rb +++ b/actionpack/test/template/form_tag_helper_test.rb @@ -87,5 +87,11 @@ class FormTagHelperTest < Test::Unit::TestCase assert_dom_equal %(), select_tag("people", "", :multiple => true) assert_dom_equal %(), select_tag("people", "", :multiple => nil) end + + def test_stringify_symbol_keys + actual = text_field_tag "title", "Hello!", :id => "admin" + expected = %() + assert_dom_equal expected, actual + end end -- cgit v1.2.3