Sha256: a253e17087b39bb6dca90d0171946c6cdae0d55663be262b656be6941c0b7a74
Contents?: true
Size: 572 Bytes
Versions: 4
Compression:
Stored size: 572 Bytes
Contents
describe 'GH-1094', site: true, stdio: true do before do File.write('content/a.dat', 'foo') File.write('content/index.html', '<%= @items["/*.dat"].compiled_content %>') File.write('Rules', <<EOS) compile '/**/*.html' do filter :erb write item.identifier.to_s end passthrough '/**/*.dat' EOS end it 'raises CannotGetCompiledContentOfBinaryItem twice' do 2.times do expect { Nanoc::CLI.run(%w[compile]) } .to raise_wrapped_error(an_instance_of(Nanoc::Int::Errors::CannotGetCompiledContentOfBinaryItem)) end end end
Version data entries
4 entries across 4 versions & 1 rubygems