Sha256: 1c332a63f90d4b0ee3a4b4c879ba9cdfd35f3e783a9d1e858672f9ef545c66be
Contents?: true
Size: 481 Bytes
Versions: 34
Compression:
Stored size: 481 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) end end
Version data entries
34 entries across 34 versions & 1 rubygems