Sha256: 95c448bca8c7d42ab0891c70d0e359a9264c1ff29ffb85db66e404cc69c90c71
Contents?: true
Size: 698 Bytes
Versions: 4
Compression:
Stored size: 698 Bytes
Contents
describe 'GH-1134', site: true, stdio: true do before do File.write('content/foo.txt', 'asdf') File.write('Rules', <<EOS) compile '/**/*' do write '/first.html' filter :erb write '/last.html' end EOS end it 'detects missing output file of non-default rep' do Nanoc::CLI.run(%w[compile]) expect(File.file?('output/first.html')).to be expect(File.file?('output/last.html')).to be FileUtils.rm_f('output/first.html') expect(File.file?('output/first.html')).not_to be expect(File.file?('output/last.html')).to be Nanoc::CLI.run(%w[compile]) expect(File.file?('output/first.html')).to be expect(File.file?('output/last.html')).to be end end
Version data entries
4 entries across 4 versions & 1 rubygems