Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gintama91 authored Feb 29, 2024
1 parent c3cc6d7 commit d08e8f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scarpe-components/test/calzini/test_calzini_misc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_list_box_simple
assert_equal %{<select id="elt-1" onchange="handle('change', this.options[this.selectedIndex].value)"} +
%{ style="height:75;width:150"><option value="dog">dog</option>} +
%{<option value="cat" selected="true">cat</option><option value="bird">bird</option></select>},
@calzini.render("list_box", { "height" => "75", "width" => "150", "items" => ["dog", "cat", "bird"], "choose" => "cat" })
@calzini.render("list_box", { "height" => "75", "width" => "150", "items" => ["dog", "cat", "bird"], "chosen" => "cat" })
end

def test_list_box_none_selected
Expand Down

0 comments on commit d08e8f5

Please sign in to comment.