rubyzip/test/pass_thru_decompressor_test.rb

17 lines
319 B
Ruby

# frozen_string_literal: true
require 'test_helper'
class PassThruDecompressorTest < MiniTest::Test
include DecompressorTests
def setup
super
@file = File.new(TEST_FILE, 'rb')
@decompressor = ::Zip::PassThruDecompressor.new(@file, File.size(TEST_FILE))
end
def teardown
@file.close
end
end