From 00b4ac68671824d7a52b93ddeaf1e713668d5215 Mon Sep 17 00:00:00 2001 From: Andrew Kvalheim Date: Wed, 10 Sep 2014 15:52:05 -0700 Subject: [PATCH] Add a basic feature test for the console. --- middleman-core/features/console.feature | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 middleman-core/features/console.feature diff --git a/middleman-core/features/console.feature b/middleman-core/features/console.feature new file mode 100644 index 00000000..c3400e3b --- /dev/null +++ b/middleman-core/features/console.feature @@ -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. + """