test_upload: still uncomfortable with 1.9 IO encoding...
commit5bbd75f2bf63d17ef84c7cd156faca278d80bb5b
authorEric Wong <normalperson@yhbt.net>
Mon, 27 Apr 2009 10:47:46 +0000 (27 03:47 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 22 May 2009 08:54:20 +0000 (22 01:54 -0700)
tree25d17b03465149252fa1074c9c3a7db8e2ce164f
parent1de33f9cdc735588e8dee100e64e68c68b990830
test_upload: still uncomfortable with 1.9 IO encoding...

It seems most applications use buffered IO#read instead of
IO#sysread.  So make sure our encoding is set correctly for
buffered IO#read applications, too.
test/unit/test_upload.rb