Sha256: af2fcd33928214ca0d8a652d77f7ce6aaad9b442333a2db84be23ffc2dad9358
Contents?: true
Size: 355 Bytes
Versions: 4
Compression:
Stored size: 355 Bytes
Contents
describe 'GH-1037', site: true, stdio: true do before do File.write('content/foo.png', 'stuff') File.write('Rules', <<EOS) compile '/*.png' do write '/foo-s3cr3t.png' end passthrough '/*.png' EOS end it 'writes one file' do Nanoc::CLI.run(%w[compile]) expect(Dir['output/*']).to eql(['output/foo-s3cr3t.png']) end end
Version data entries
4 entries across 4 versions & 1 rubygems