Sha256: fc04b5054aa304e9c4c6dd120ec88eb2c51ae128053540864937f7ac53b7c644

Contents?: true

Size: 338 Bytes

Versions: 4

Compression:

Stored size: 338 Bytes

Contents

describe 'GH-1130', site: true, stdio: true do
  before do
    File.write('content/foo', 'asdf')

    File.write('Rules', <<EOS)
passthrough '/**/*'
EOS

    File.write('Checks', <<EOS)
check :wat do
  @items.flat_map(&:reps).map(&:raw_path)
end
EOS
  end

  it 'does not raise fiber error' do
    Nanoc::CLI.run(%w[check wat])
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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