Sha256: 4139976d8a242d4394b7c9ebc1c3fc154c466c96e6e9fa0a915853017b082c01
Contents?: true
Size: 760 Bytes
Versions: 18
Compression:
Stored size: 760 Bytes
Contents
# frozen_string_literal: true 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
18 entries across 18 versions & 1 rubygems