Sha256: 7874c7160fd4e2920e56db953756ad7e83c18fd73ec19c17c4bab6e229193c56
Contents?: true
Size: 315 Bytes
Versions: 13
Compression:
Stored size: 315 Bytes
Contents
# encoding: utf-8 require 'spec_helper' RSpec.describe Utils do context '#zip' do it 'creates a zip archive from directory' do touch_file 'test.txt' Middleman::Presentation::Utils.zip absolute_path('.'), absolute_path('test.zip') check_file_presence(['test.zip'], true) end end end
Version data entries
13 entries across 13 versions & 1 rubygems