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:
parent
e28850c9d7
commit
00b4ac6867
1 changed files with 10 additions and 0 deletions
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