Sha256: 68e9db731f5b29c4e2dcaaa75af67c36afcd24136cef2833e014040179589be6
Contents?: true
Size: 493 Bytes
Versions: 1
Compression:
Stored size: 493 Bytes
Contents
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED require 'unittests/setup' class TC_SelectLists < Test::Unit::TestCase location __FILE__ def setup uses_page "select_lists.html" end def test_select_by_numeric # make sure we still find the right option if passed a number browser.select_list(:id, 'year').select(2011) assert_equal(['2011'], browser.select_list(:id, 'year').selected_options.map(&:text)) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
commonwatir-3.0.0.rc3 | unittests/select_list_test.rb |