middleman/middleman-more/features/clean_build.feature

14 lines
578 B
Gherkin
Raw Normal View History

Feature: Build Clean
Scenario: Clean an app with directory indexes
Given a successfully built app at "clean-dir-app"
Then the following files should exist:
| build/about/index.html |
Given a successfully built app at "clean-dir-app" with flags "--clean"
Then the following files should exist:
| build/about/index.html |
Scenario: Clean build an app that's never been built
Given a successfully built app at "clean-dir-app" with flags "--clean"
Then the following files should exist:
| build/about/index.html |