Sha256: e9998e90a4e8e0211c7541e95b5b3f7d32f76138c4d004d1029e800b7944f5e2
Contents?: true
Size: 457 Bytes
Versions: 4
Compression:
Stored size: 457 Bytes
Contents
describe 'GH-1082', site: true, stdio: true do before do File.write('content/a.erb', '<%= @items["/b.*"].binary? %>') File.write('content/b.dat', 'stuff') File.write('Rules', <<EOS) compile '/a.*' do filter :erb write item.identifier.without_ext + '.txt' end passthrough '/b.*' EOS end it 'requires /b to be compiled first' do Nanoc::CLI.run(%w[compile]) expect(File.read('output/a.txt')).to eql('true') end end
Version data entries
4 entries across 4 versions & 1 rubygems