Sha256: 7d7fe6ee698e15552395ac2f72be0667f152957eb8967cbec1e8d3f3f93ebf4b
Contents?: true
Size: 491 Bytes
Versions: 2
Compression:
Stored size: 491 Bytes
Contents
include ZipHelpers shared_context 'package' do before :all do @app_dir = spec_dir.join 'fixtures/test_app' @output_dir = @app_dir.join 'pkg' end end shared_context 'zip' do include_context 'package' let(:output_file) { @output_dir.join 'zip_directory_spec.zip' } let(:zip) { Zip::File.open output_file } before :all do @output_dir.mkpath @output_file = @output_dir.join 'zip_directory_spec.zip' end after :all do FileUtils.rm_rf @output_dir end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
furoshiki-0.3.1 | spec/support/shared_zip.rb |
furoshiki-0.3.0 | spec/support/shared_zip.rb |