1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

Add a basic feature test for the console.

This commit is contained in:
Andrew Kvalheim 2014-09-10 15:52:05 -07:00
parent e28850c9d7
commit 00b4ac6867

View file

@ -0,0 +1,10 @@
Feature: Console
Scenario: Enter and exit the console
Given I run `middleman console` interactively
When I type "puts 'Hello from the console.'"
And I type "exit"
Then it should pass with:
"""
Hello from the console.
"""