aboutsummaryrefslogtreecommitdiff
path: root/spec/zip_spec.cr
diff options
context:
space:
mode:
Diffstat (limited to 'spec/zip_spec.cr')
-rw-r--r--spec/zip_spec.cr15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/zip_spec.cr b/spec/zip_spec.cr
new file mode 100644
index 0000000..74066b7
--- /dev/null
+++ b/spec/zip_spec.cr
@@ -0,0 +1,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