test/test_bufferingreader.rb in tracksperanto-2.8.0 vs test/test_bufferingreader.rb in tracksperanto-2.8.1

- old
+ new

@@ -15,12 +15,12 @@ flexmock(s).should_receive(:read).with(4).once.and_return("abcd") reader = Tracksperanto::BufferingReader.new(s, 4) reader.read_one_byte end - def test_reads_in_10kb_chunks_by_default + def test_reads_in_64kb_chunks_by_default s = StringIO.new("abcd") - flexmock(s).should_receive(:read).with(10240).once.and_return("abcd") + flexmock(s).should_receive(:read).with(64 * 1024).once.and_return("abcd") reader = Tracksperanto::BufferingReader.new(s) reader.read_one_byte end def test_eof_with_empty \ No newline at end of file