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