middleman/middleman-core/features/extension_api_deprecations.feature
2015-10-12 12:37:07 -07:00

10 lines
392 B
Gherkin

Feature: Extension author could use some hooks
Scenario: When build
Given a fixture app "extension-api-deprecations-app"
When I run `middleman build`
Then the exit status should be 0
And the output should contain "`set :layout` is deprecated"
And the file "build/index.html" should contain "In Index"
And the file "build/index.html" should not contain "In Layout"