Sha256: dcfc902a3cc0b4a8aa13845321e6efc453ee1f6b49150ccc37976520afed664f

Contents?: true

Size: 493 Bytes

Versions: 2

Compression:

Stored size: 493 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.directories_to_zip = [ZipTestData.folder]
		zip.output_file = "test.zip"
		zip.package
	end
	
	it "should produce a zip file" do
		File.exist?(File.join(ZipTestData.folder, "test.zip")).should be_true
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
albacore-0.0.9 spec/zip_spec.rb
albacore-0.0.8 spec/zip_spec.rb