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