Sha256: 06334a479f42fa92d685e3f52c3a3a4c7aa7d2362561ee293171093c180869ab

Contents?: true

Size: 292 Bytes

Versions: 4

Compression:

Stored size: 292 Bytes

Contents

describe 'GH-841', site: true, stdio: true do
  before do
    File.write('content/foo.md', 'stuff')

    File.write('Rules', <<EOS)
  preprocess do
    items.delete_if { |_| true }
  end
EOS
  end

  it 'preprocesses before running the check' do
    Nanoc::CLI.run(%w[check stale])
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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