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

Version Path
nanoc-4.7.5 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.7.4 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.7.3 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.7.2 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.7.1 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.7.0 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.6.4 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.6.3 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.6.2 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.6.1 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.6.0 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.5.4 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.5.3 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.5.2 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.5.1 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.5.0 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.4.7 spec/nanoc/regressions/gh_951_spec.rb
nanoc-4.4.6 spec/nanoc/regressions/gh_951_spec.rb