test_text_area_on (HtmlRendererTest)

    # File lib/Borges/TestCase/HtmlRendererTest.rb, line 393
      def test_text_area_on
        obj = Object.new
        obj.instance_eval "def foo() 'text' end"

        expected = "<textarea id=\"foo\" name=\"1\">text</textarea>"

        output = render do |r|
          r.text_area_on :foo, obj
        end

        assert_match(/<textarea/, output, "Is a textarea element")
        assert_match(/id="foo"/, output, "Has id of \"foo\"")
        assert_match(/name="1"/, output, "Has a name")
        assert_match(/>text</, output, "Has the correct value")
      end