1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/middleman-cli/features/preview_server-hook.feature
Thomas Reynolds 6714828e27
Update active support and padrino (#2237)
* Update active support and padrino

* Remove `present?` helper method

* Aruba deprecation

* Update changelog [ci skip]
2018-12-31 13:30:15 -08:00

17 lines
495 B
Gherkin

Feature: Run preview server before hook
Scenario: When run
Given a fixture app "preview-server-hook-app"
And the default aruba exit timeout is 30 seconds
When I run `middleman server --server-name localhost --bind-address 127.0.0.1` interactively
And I stop middleman if the output contains:
"""
### END ###
"""
Then the output should contain:
"""
/// 127.0.0.1:4567 ///
/// 4567 ///
/// localhost ///
/// http://localhost:4567 ///
"""