Add a basic feature test for the console.
This commit is contained in:
parent
e28850c9d7
commit
00b4ac6867
10
middleman-core/features/console.feature
Normal file
10
middleman-core/features/console.feature
Normal 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.
|
||||||
|
"""
|
Loading…
Reference in a new issue