test_radio_button (HtmlRendererTest)

    # File lib/Borges/TestCase/HtmlRendererTest.rb, line 285
      def test_radio_button
        output = render do |r|

          # In real code, this would be:
          #
          # group = r.radio_group
          # r.radio_button(group, true) do ... end

          r.radio_button("group") do end
        end

        assert_match(/<input/, output, "Is an input element")
        assert_match(/type="radio"/, output, "Is a radio button")
        assert_match(/value="1"/, output, "Has a value")
        assert_match(/name="group"/, output, "Is of group \"group\"")
      end