Sha256: c28af7ee30aac424166b50288bdd91bb2a48aea5efa3107eb860f52974fcc97d
Contents?: true
Size: 385 Bytes
Versions: 18
Compression:
Stored size: 385 Bytes
Contents
describe 'GH-951', site: true, stdio: true do before do File.write('content/foo.md', 'Foo!') File.open('nanoc.yaml', 'w') do |io| io << 'string_pattern_type: legacy' << "\n" end File.write('Rules', <<EOS) passthrough '/foo.md' EOS end it 'copies foo.md' do Nanoc::CLI.run(%w(compile)) expect(File.file?('output/foo.md')).to eq(true) end end
Version data entries
18 entries across 18 versions & 1 rubygems