From 63a51df90937dcea8e3d0a3f8dcdb32d541e7b93 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Sun, 16 Aug 2015 13:15:47 -0400 Subject: [PATCH] Fix up test for 'future' flag. /cc #3892 --- features/create_sites.feature | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/features/create_sites.feature b/features/create_sites.feature index 6eb05dc3..898115c2 100644 --- a/features/create_sites.feature +++ b/features/create_sites.feature @@ -162,9 +162,11 @@ Feature: Create sites And I have the following post: | title | date | layout | content | | entry1 | 2020-12-31 | post | content for entry1. | + | entry2 | 2007-12-31 | post | content for entry2. | When I run jekyll build - Then the _site directory should not exist - + Then the _site directory should exist + And I should see "content for entry2" in "_site/2007/12/31/entry2.html" + And the "_site/2020/12/31/entry1.html" file should not exist When I run jekyll build --future Then the _site directory should exist And the "_site/2020/12/31/entry1.html" file should exist