Add back app.set, but mark as deprecated
This commit is contained in:
parent
eb82f402a0
commit
6357f4f5b8
5 changed files with 40 additions and 0 deletions
10
middleman-core/features/extension_api_deprecations.feature
Normal file
10
middleman-core/features/extension_api_deprecations.feature
Normal file
|
@ -0,0 +1,10 @@
|
|||
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"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue