test_upload: still uncomfortable with 1.9 IO encoding...
commite9efec7fb79b0ff010664a4b85aaaddbf9a1e820
authorEric Wong <normalperson@yhbt.net>
Mon, 27 Apr 2009 10:47:46 +0000 (27 03:47 -0700)
committerEric Wong <normalperson@yhbt.net>
Mon, 27 Apr 2009 22:21:56 +0000 (27 15:21 -0700)
treee718e18fb71510f2492c7b66a7aa0e5789f5a4de
parent889da081e87c0baf55ae45a3095e07184e6418d7
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