Skip to content

Commit

Permalink
Fix up test for 'future' flag. /cc #3892
Browse files Browse the repository at this point in the history
  • Loading branch information
parkr committed Aug 16, 2015
1 parent 559cd6c commit 63a51df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions features/create_sites.feature
Expand Up @@ -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

0 comments on commit 63a51df

Please sign in to comment.