middleman/middleman-core/features/frontmatter_page_settings.feature
Ben Hollis b01f0f96e8 New (failing) feature describing what it would look like to set some page features through frontmatter.
This tests the ability to set layout, ignore, and diable directory_index. Pertains to issue #194.
2012-01-06 23:08:38 -08:00

11 lines
518 B
Gherkin

Feature: Setting page settings through frontmatter
Scenario: Setting layout, ignoring, and disabling directory indexes through frontmatter
Given a successfully built app at "frontmatter-settings-app"
Then the following files should exist:
| build/proxied/index.html |
| build/no_index.html |
And the file "build/alternate_layout/index.html" should contain "Alternate layout"
And the following files should not exist:
| build/ignored/index.html |
| build/no_index/index.html |