Sha256: 982e0ec101f91b61627b224d34dfaa77ef63e708722ebf27774d0272e96a3fdf
Contents?: true
Size: 630 Bytes
Versions: 4
Compression:
Stored size: 630 Bytes
Contents
describe 'GH-1102', site: true, stdio: true do before do File.write('content/index.html', '<%= "things" %>') File.write('Rules', <<EOS) compile '/**/*.html' do filter :erb write item.identifier.to_s end EOS end before do Nanoc::CLI.run(%w[compile]) end it 'does not output filename more than once' do regex = /skip.*index\.html.*skip.*index\.html/m expect { Nanoc::CLI.run(%w[compile --verbose]) }.not_to output(regex).to_stdout end it 'outputs filename' do regex = /skip.*index\.html/ expect { Nanoc::CLI.run(%w[compile --verbose]) }.to output(regex).to_stdout end end
Version data entries
4 entries across 4 versions & 1 rubygems