diff --git a/test/bootstrap_selects_test.rb b/test/bootstrap_selects_test.rb index 763d34ecb..1c75952e8 100644 --- a/test/bootstrap_selects_test.rb +++ b/test/bootstrap_selects_test.rb @@ -677,4 +677,24 @@ def options_range(start: 1, stop: 31, selected: nil, months: false) assert_equivalent_xml expected, @builder.datetime_select(:misc, { include_blank: true }, class: "my-datetime-select") end end + + test "confirm documentation example for HTML options" do + expected = <<-HTML.strip_heredoc +