Sha256: 12b2e211336012e6b4ed5da02e80b274ee6c8f641d3cc5a782597a0095fc4565

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

require File.join(File.dirname(__FILE__), 'support', 'spec_helper')
require 'albacore/zipdirectory'
require 'ziptestdata'

describe ZipDirectory, 'when zipping a directory of files' do
	before :each do
		zip = ZipDirectory.new
		puts "#{ZipTestData.folder}"
		zip.directory_to_zip = ZipTestData.folder
		zip.file = "test.zip"
		zip.package
	end
	
	it "should prodice a zip file" do
		File.exist?(File.join(ZipTestData.folder, "test.zip")).should be_true
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
albacore-0.0.7 spec/zip_spec.rb