From e8b0900721dc837d09f4fdfae3428009ed84f94b Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Mon, 23 Dec 2013 00:01:46 +0000 Subject: [PATCH] Improve `echo' action cucumber feature wording --- features/actions/echo.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/actions/echo.feature b/features/actions/echo.feature index 3088cfb..5a97504 100644 --- a/features/actions/echo.feature +++ b/features/actions/echo.feature @@ -1,11 +1,11 @@ Feature: `echo' task action - Scenario: ouputs text + Scenario: prints text on standard output Given a recipe with: """ - task :some_task do + task :say_hello do echo 'hello' end """ When I successfully execute the recipe - Then the output must contain exactly "hello\n" + Then the output must match /\Ahello\n/