summaryrefslogtreecommitdiff
path: root/spec/zip_spec.cr
blob: 74066b7b84f745c6f6fdd01324ffba028069f378 (plain)
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