Sha256: 90aa74ca9b3f8f58f149a5f23653989c7d2beee83a960e248e26fa5c65abdbd4

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 'shoes/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::ZipFile.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.1.2 spec/support/shared_zip.rb
furoshiki-0.1.1 spec/support/shared_zip.rb