Sha256: f25d517fd3c253a9709999982230b3785847d3dfd451762f7cd2434b11240484
Contents?: true
Size: 383 Bytes
Versions: 18
Compression:
Stored size: 383 Bytes
Contents
# frozen_string_literal: true describe 'GH-787', site: true, stdio: true do before do File.write('Rules', <<EOS) preprocess do @items.create('foo', {}, '/pig.md') end compile '/**/*' do write '/oink.html' end layout '/foo.*', :erb EOS end it 'runs the preprocessor only once' do expect { Nanoc::CLI.run(['compile']) }.not_to raise_error end end
Version data entries
18 entries across 18 versions & 1 rubygems