Sha256: 825e9d20eef5d8811c7f5910c36526f4ebc96a46b59f70df749881e793d6c6d6
Contents?: true
Size: 406 Bytes
Versions: 41
Compression:
Stored size: 406 Bytes
Contents
require 'mechanize/test_case' class TestMechanizeFormFileUpload < Mechanize::TestCase def test_file_name field = node 'input' field = Mechanize::Form::FileUpload.new field, 'a&b' assert_equal 'a&b', field.file_name end def test_file_name_entity field = node 'input' field = Mechanize::Form::FileUpload.new field, 'a&b' assert_equal 'a&b', field.file_name end end
Version data entries
41 entries across 41 versions & 5 rubygems
Version | Path |
---|---|
mechanize-2.1.pre.1 | test/test_mechanize_form_file_upload.rb |