diff --git a/features/create_sites.feature b/features/create_sites.feature index 5d22397b..0f3bb778 100644 --- a/features/create_sites.feature +++ b/features/create_sites.feature @@ -139,3 +139,11 @@ Feature: Create sites When I run jekyll Then the _site/test directory should exist And I should see "some other stuff" in "_site/test/index.html" + + Scenario: Basic site with unpublished page + Given I have an "index.html" page with title "index" that contains "Published page" + And I have a "secret.html" page with published "false" that contains "Unpublished page" + When I run jekyll + Then the _site directory should exist + And the "_site/index.html" file should exist + But the "_site/secret.html" file should not exist