test/cli/commands/test_compile.rb in nanoc-3.5.0 vs test/cli/commands/test_compile.rb in nanoc-3.6.0
- old
+ new
@@ -58,11 +58,11 @@
assert File.file?('output/stray.html')
Nanoc::CLI.run %w( compile )
assert File.file?('output/stray.html')
- File.open('config.yaml', 'w') do |io|
+ File.open('nanoc.yaml', 'w') do |io|
io.write "prune:\n"
io.write " auto_prune: true\n"
end
assert File.file?('output/stray.html')
@@ -101,10 +101,10 @@
assert File.file?('output/stray.html')
Nanoc::CLI.run %w( compile )
assert File.file?('output/stray.html')
- File.open('config.yaml', 'w') do |io|
+ File.open('nanoc.yaml', 'w') do |io|
io.write "prune:\n"
io.write " auto_prune: true\n"
io.write " exclude: [ 'excluded_dir' ]\n"
end