Sha256: a7bebbab53d585b1722340724ce8f865e8343a8e6a538a34792c3b781f05358e
Contents?: true
Size: 518 Bytes
Versions: 1
Compression:
Stored size: 518 Bytes
Contents
# :nodoc: all require "test/unit" require "n/server/cookie" require "n/server/request" include N class TC_N2_Web_Server_RequestPart < Test::Unit::TestCase # :nodoc: all # :nodoc: all def setup end def teardown end def test_filename part = RequestPart.new("/home/gmosx/files/pic.gif", "tmp/1232132.0", nil) assert_equal("pic.gif", part.filename) # bug: handle \ as separator part = RequestPart.new('C:\gmosx\files\pic.gif', "tmp/1232132.0", nil) assert_equal("pic.gif", part.filename) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.3.0 | test/n/server/tc_requestpart.rb |