2014-09-10 15:52:05 -07:00
|
|
|
Feature: Console
|
|
|
|
|
|
|
|
Scenario: Enter and exit the console
|
2014-06-28 15:07:43 -07:00
|
|
|
Given a fixture app "large-build-app"
|
|
|
|
When I run `middleman console` interactively
|
|
|
|
And I type "puts 'Hello from the console.'"
|
2014-09-10 15:52:05 -07:00
|
|
|
And I type "exit"
|
|
|
|
Then it should pass with:
|
|
|
|
"""
|
|
|
|
Hello from the console.
|
|
|
|
"""
|