Sha256: 994f6590f69aec2565ae81c1800f9db517a4243a3fdd93ef5c402830c124a57c

Contents?: true

Size: 370 Bytes

Versions: 18

Compression:

Stored size: 370 Bytes

Contents

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

    File.write('Rules', <<EOS)
compile '/foo.*' do
  write '/donkey.html'
end
EOS
  end

  it 'shows reps' do
    expect { Nanoc::CLI.run(%w(show-rules --no-color)) }.to(
      output(/^Item \/foo\.md:\n  Rep default: \/foo\.\*$/).to_stdout,
    )
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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