Permalink
Browse files

Use an optgroup in the specs

  • Loading branch information...
1 parent b065161 commit 6670981917f40eb18d077878fdd640d8a74f4c6b @djmb djmb committed with mhoran Jan 31, 2017
Showing with 4 additions and 2 deletions.
  1. +4 −2 spec/driver_spec.rb
View
@@ -1688,8 +1688,10 @@ def url(path)
<option value="2" id="option-2">two</option>
</select>
<select id="change_select_in_optgroup" name="change_select_in_optgroup">
- <option value="1" id="option-in-optgroup-1" selected="selected">one</option>
- <option value="2" id="option-in-optgroup-2">two</option>
+ <optgroup>
+ <option value="1" id="option-in-optgroup-1" selected="selected">one</option>
+ <option value="2" id="option-in-optgroup-2">two</option>
+ </optgroup>
</select>
</form>
<script type="text/javascript">

0 comments on commit 6670981

Please sign in to comment.