Sha256: 1c5990afd79e47e352cfa413687b32ac637ebd205316b2cae9e6a31251db704c
Contents?: true
Size: 514 Bytes
Versions: 4
Compression:
Stored size: 514 Bytes
Contents
# encoding: UTF-8 require "spec_helper" describe Tetra::Unzip do include Tetra::Mockers let(:zipfile) { File.join("spec", "data", "commons-collections4-4.1-src.zip") } let(:unzip) { Tetra::Unzip.new } describe "#decompress" do it "decompresses a file in a directory" do Dir.mktmpdir do |dir| unzip.decompress(zipfile, dir) files = Find.find(dir).to_a expect(files).to include("#{dir}/commons-collections4-4.1-src/DEVELOPERS-GUIDE.html") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tetra-2.0.5 | spec/lib/fine/unzip_spec.rb |
tetra-2.0.4 | spec/lib/fine/unzip_spec.rb |
tetra-2.0.3 | spec/lib/fine/unzip_spec.rb |
tetra-2.0.2 | spec/lib/fine/unzip_spec.rb |