test/helper.rb in nanoc-4.0.0b1 vs test/helper.rb in nanoc-4.0.0b2

- old
+ new

@@ -101,10 +101,17 @@ File.open('layouts/default.html', 'w') do |io| io.write('... <%= @yield %> ...') end end - File.open('nanoc.yaml', 'w') { |io| io.write('stuff: 12345') } + File.open('nanoc.yaml', 'w') do |io| + io << 'string_pattern_type: legacy' << "\n" + io << 'data_sources:' << "\n" + io << ' -' << "\n" + io << ' type: filesystem_unified' << "\n" + io << ' identifier_type: legacy' << "\n" + end + File.open('Rules', 'w') { |io| io.write(rules_content) } end end # Yield site