# File lib/Borges/TestCase/HtmlRendererTest.rb, line 77
  def test_boolean_menu_with_labels
    expected = "<select name=\"1\"><option value=\"2\" selected=\"selected\">Ok</option><option value=\"3\">Cancel</option></select>"
    output = render do |r|
      r.boolean_menu(true, [:Ok, :Cancel]) do end
    end

    assert_match(/<select/, output, "Has a select element")
    assert_match(/<option.*<option/, output, "Has two option elements")
    assert_match(/"><[^>]+selected="selected"/, output,
                 "First option is selected")
    assert_match(/"><[^>]+>Ok</, output, "First option is \"Ok\"")
    assert_match(/n><option[^>]+>Cancel</, output, "Second option is \"Cancel\"")
  end