add a cucumber feature to test "published" for pages
This commit is contained in:
parent
75854b5d0b
commit
eded314bb1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue