From 85109afd46139947b989f351f928fef0f4c10fa1 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Sat, 7 Sep 2013 21:40:25 +0000 Subject: [PATCH] Fix missing Then keywords in cucumber features --- features/actions/echo.feature | 2 +- features/recipes/evaluation.feature | 2 +- features/recipes/source.feature | 2 +- features/recipes/target.feature | 2 +- features/tasks/condition.feature | 2 +- features/tasks/evaluation.feature | 2 +- features/tests/has_env.feature | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/features/actions/echo.feature b/features/actions/echo.feature index b50dd29..3088cfb 100644 --- a/features/actions/echo.feature +++ b/features/actions/echo.feature @@ -8,4 +8,4 @@ Feature: `echo' task action end """ When I successfully execute the recipe - And the output must contain exactly "hello\n" + Then the output must contain exactly "hello\n" diff --git a/features/recipes/evaluation.feature b/features/recipes/evaluation.feature index c25e925..363a989 100644 --- a/features/recipes/evaluation.feature +++ b/features/recipes/evaluation.feature @@ -6,4 +6,4 @@ Feature: recipe evaluation puts 'hello from recipe' """ When I successfully execute the recipe - And the output must contain exactly "hello from recipe\n" + Then the output must contain exactly "hello from recipe\n" diff --git a/features/recipes/source.feature b/features/recipes/source.feature index 7913135..094cfbb 100644 --- a/features/recipes/source.feature +++ b/features/recipes/source.feature @@ -12,4 +12,4 @@ Feature: `source' recipe keyword puts 'sourced recipe' """ When I successfully execute the recipe - And the output must contain "sourced recipe" + Then the output must contain "sourced recipe" diff --git a/features/recipes/target.feature b/features/recipes/target.feature index 849f42a..dca9e1d 100644 --- a/features/recipes/target.feature +++ b/features/recipes/target.feature @@ -8,4 +8,4 @@ Feature: `target' recipe keyword puts env.target """ When I successfully execute the recipe - And the output must contain exactly "some_host.example\n" + Then the output must contain exactly "some_host.example\n" diff --git a/features/tasks/condition.feature b/features/tasks/condition.feature index 85519e2..a86a27f 100644 --- a/features/tasks/condition.feature +++ b/features/tasks/condition.feature @@ -10,4 +10,4 @@ Feature: `condition' task keyword end """ When I successfully execute the recipe - And the output must not contain "evaluated" + Then the output must not contain "evaluated" diff --git a/features/tasks/evaluation.feature b/features/tasks/evaluation.feature index 00f10f8..6a5632a 100644 --- a/features/tasks/evaluation.feature +++ b/features/tasks/evaluation.feature @@ -8,4 +8,4 @@ Feature: task evaluation end """ When I successfully execute the recipe - And the output must contain exactly "hello from recipe\n" + Then the output must contain exactly "hello from recipe\n" diff --git a/features/tests/has_env.feature b/features/tests/has_env.feature index 9fd4f69..ed30b98 100644 --- a/features/tests/has_env.feature +++ b/features/tests/has_env.feature @@ -13,7 +13,7 @@ Feature: `has_env' condition keyword end """ When I successfully execute the recipe - And the output must contain "evaluated" + Then the output must contain "evaluated" Scenario: fails when remote environment variable is not defined Given a recipe with: @@ -27,4 +27,4 @@ Feature: `has_env' condition keyword end """ When I successfully execute the recipe - And the output must not contain "evaluated" + Then the output must not contain "evaluated"