Sha256: 3cf9b218c31b37a01e90e0c7214b29e0905d3d32923baef8fe630ef3021229f0
Contents?: true
Size: 405 Bytes
Versions: 9
Compression:
Stored size: 405 Bytes
Contents
require File.dirname(__FILE__) + "/helper" class FormNoInputNameTest < Test::Unit::TestCase def setup @agent = WWW::Mechanize.new @page = @agent.get('http://localhost/form_no_input_name.html') end def test_no_input_name form = @page.forms.first assert_equal(0, form.fields.length) assert_equal(0, form.radiobuttons.length) assert_equal(0, form.checkboxes.length) end end
Version data entries
9 entries across 9 versions & 1 rubygems