From 245c7f24f634918afea66d2eb17d88e4afeeb086 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 7 Aug 2016 15:29:32 -0400 Subject: use larger test input file --- spec/zip_spec.cr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec') diff --git a/spec/zip_spec.cr b/spec/zip_spec.cr index 83d0dcc..7505fd3 100644 --- a/spec/zip_spec.cr +++ b/spec/zip_spec.cr @@ -1,7 +1,7 @@ require "./spec_helper" TEST_DIR = File.dirname(__FILE__) -TEST_FILE_PATH = File.join(TEST_DIR, "..", "shard.yml") +TEST_FILE_PATH = File.join(TEST_DIR, "..", "src", "zip.cr") describe Zip do # TODO: Write tests @@ -42,7 +42,7 @@ describe Zip::Writer do it "creates an entry from a File" do Zip.write(File.join(TEST_DIR, "test-file.zip")) do |zip| - zip.add_file("shard.yml", TEST_FILE_PATH) + zip.add_file("test.cr", TEST_FILE_PATH) end end @@ -50,7 +50,7 @@ describe Zip::Writer do Zip.write(File.join(TEST_DIR, "test-many.zip")) do |zip| zip.add("foo.txt", MemoryIO.new("foo")) zip.add("bar.txt", "bar") - zip.add_file("shard.yml", TEST_FILE_PATH) + zip.add_file("test.cr", TEST_FILE_PATH) end end end -- cgit v1.2.3