From dfae4669e4adc2e34ab3a6ecd400ebdf7b5848bb Mon Sep 17 00:00:00 2001 From: Jordon Bedwell Date: Thu, 29 Oct 2015 15:43:55 -0500 Subject: [PATCH] AUTOMATIC: Whitespace stripped. --- test/test_regenerator.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test_regenerator.rb b/test/test_regenerator.rb index ebd30aec8..52268f263 100644 --- a/test/test_regenerator.rb +++ b/test/test_regenerator.rb @@ -39,7 +39,7 @@ class TestRegenerator < JekyllUnitTest # we need to create the destinations for these files, # because regenerate? checks if the destination exists [@page, @post, @document, @asset_file].each do |item| - if item.respond_to?(:destination) + if item.respond_to?(:destination) dest = item.destination(@site.dest) FileUtils.mkdir_p(File.dirname(dest)) FileUtils.touch(dest) @@ -67,7 +67,7 @@ class TestRegenerator < JekyllUnitTest # make sure the files don't actually exist [@page, @post, @document, @asset_file].each do |item| - if item.respond_to?(:destination) + if item.respond_to?(:destination) dest = item.destination(@site.dest) File.unlink(dest) unless !File.exist?(dest) end @@ -92,7 +92,6 @@ class TestRegenerator < JekyllUnitTest context "The site regenerator" do setup do FileUtils.rm_rf(source_dir(".jekyll-metadata")) - @site = fixture_site({ "incremental" => true })