From 8dca6586ded76d5950b4fccfb720e2861efede6d Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 30 Nov 2006 21:45:31 +0000 Subject: Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/form_helper_test.rb | 6 ++++++ 1 file changed, 6 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 a7ceb6b30f..f7d51b2f2d 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -163,6 +163,12 @@ class FormHelperTest < Test::Unit::TestCase ) end + def test_label + assert_dom_equal('', label("post", "body")) + assert_dom_equal('', label("post", "body", :text => "Super body")) + assert_dom_equal('', label("post", "body", :text => "Super body", :class => "strong")) + end + def test_explicit_name assert_dom_equal( '', text_field("post", "title", "name" => "dont guess") -- cgit v1.2.3