mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
c444b3f232
- 'before_render' hook is called twice. - add simple cucumber test about some hooks.
13 lines
580 B
Gherkin
13 lines
580 B
Gherkin
Feature: Extension author could use some hooks
|
|
|
|
Scenario: When build
|
|
Given a fixture app "extension-hooks-app"
|
|
When I run `middleman build`
|
|
Then the exit status should be 0
|
|
And the output should contain "/// after_configuration ///"
|
|
And the output should contain "/// ready ///"
|
|
And the output should contain "/// before_build ///"
|
|
And the output should contain "/// before ///"
|
|
And the output should contain "/// before_render ///"
|
|
And the output should contain "/// after_render ///"
|
|
And the output should contain "/// after_build ///"
|