test/streams_test.rb in iostreams-1.0.0.beta5 vs test/streams_test.rb in iostreams-1.0.0.beta6

- old
+ new

@@ -79,20 +79,20 @@ assert_equal 32, value end it 'returns the reader' do string_io = StringIO.new - streams.stream(:zip) + streams.stream(:bz2) streams.reader(string_io) do |io| - assert io.is_a?(::Zip::InputStream), io + assert io.is_a?(RBzip2::FFI::Decompressor), io end end it 'returns the last reader' do string_io = StringIO.new streams.stream(:encode) - streams.stream(:zip) + streams.stream(:bz2) streams.reader(string_io) do |io| assert io.is_a?(IOStreams::Encode::Reader), io end end end @@ -111,10 +111,10 @@ it 'returns the reader' do string_io = StringIO.new streams.stream(:zip) streams.writer(string_io) do |io| - assert io.is_a?(::Zip::OutputStream), io + assert io.is_a?(ZipTricks::Streamer::Writable), io end end it 'returns the last reader' do string_io = StringIO.new