# File lib/Borges/TestCase/HtmlRendererTest.rb, line 64 def test_boolean_menu_default_false output = render do |r| r.boolean_menu(false) do end end assert_match(/<select/, output, "Has a select element") assert_match(/<option.*<option/, output, "Has two option elements") assert_match(/n><[^>]+selected="selected"/, output, "Second option is selected") assert_match(/"><[^>]+>Yes</, output, "First option is \"Yes\"") assert_match(/n><option[^>]+>No</, output, "Second option is \"No\"") end