Add back app.set, but mark as deprecated

This commit is contained in:
Thomas Reynolds 2015-10-12 12:37:07 -07:00
parent eb82f402a0
commit 6357f4f5b8
5 changed files with 40 additions and 0 deletions

View 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"