test/stream_test.rb in iostreams-1.0.0.beta2 vs test/stream_test.rb in iostreams-1.0.0.beta3

- old
+ new

@@ -45,19 +45,19 @@ it 'reads a zip file' do File.open(multiple_zip_file_name, 'rb') do |io| result = IOStreams::Stream.new(io). file_name(multiple_zip_file_name). option(:zip, entry_file_name: 'test.json'). - reader { |io| io.read } + read assert_equal contents_test_json, result end end it 'reads a zip file from within a gz file' do File.open(zip_gz_file_name, 'rb') do |io| result = IOStreams::Stream.new(io). file_name(zip_gz_file_name). - reader { |io| io.read } + read assert_equal contents_test_txt, result end end end