1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
require "./spec_helper" describe Zip do # TODO: Write tests it "works" do Zip::VERSION.should eq(Zip::VERSION) end end describe Zip::Writer do Zip.write("test.zip") do |zip| zip.add("foo.txt", MemoryIO.new("foo")) end end