Sha256: 8f210da03ec81771cc0c185e728886d8ca7bfe4ae82efad25b703301695ecd08

Contents?: true

Size: 385 Bytes

Versions: 4

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

4 entries across 4 versions & 1 rubygems

Version Path
nanoc-4.7.9 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.7.8 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.7.7 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.7.6 spec/nanoc/regressions/gh_951_spec.rb