test/cli/commands/test_prune.rb in nanoc-4.0.0b2 vs test/cli/commands/test_prune.rb in nanoc-4.0.0b3

- old
+ new

@@ -1,7 +1,5 @@ -# encoding: utf-8 - class Nanoc::CLI::Commands::PruneTest < Nanoc::TestCase def test_run_without_yes with_site do |_site| # Set output dir File.open('nanoc.yaml', 'w') { |io| io.write "output_dir: output2\nstring_pattern_type: legacy\n" } @@ -29,11 +27,11 @@ File.open('nanoc.yaml', 'w') do |io| io << 'output_dir: output2' << "\n" io << 'string_pattern_type: legacy' << "\n" io << 'data_sources:' << "\n" io << ' -' << "\n" - io << ' type: filesystem_unified' << "\n" + io << ' type: filesystem' << "\n" io << ' identifier_type: legacy' << "\n" end FileUtils.mkdir_p('output2') # Create source files @@ -77,10 +75,10 @@ io << 'prune:' << "\n" io << ' exclude: [ "good-dir", "good-file.html" ]' << "\n" io << 'string_pattern_type: legacy' << "\n" io << 'data_sources:' << "\n" io << ' -' << "\n" - io << ' type: filesystem_unified' << "\n" + io << ' type: filesystem' << "\n" io << ' identifier_type: legacy' << "\n" end FileUtils.mkdir_p('output') # Create source files