Fix missing Then keywords in cucumber features

This commit is contained in:
Thibault Jouan 2013-09-07 21:40:25 +00:00
parent 33a2b9de5a
commit 85109afd46
7 changed files with 8 additions and 8 deletions

View File

@ -8,4 +8,4 @@ Feature: `echo' task action
end end
""" """
When I successfully execute the recipe When I successfully execute the recipe
And the output must contain exactly "hello\n" Then the output must contain exactly "hello\n"

View File

@ -6,4 +6,4 @@ Feature: recipe evaluation
puts 'hello from recipe' puts 'hello from recipe'
""" """
When I successfully execute the 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"

View File

@ -12,4 +12,4 @@ Feature: `source' recipe keyword
puts 'sourced recipe' puts 'sourced recipe'
""" """
When I successfully execute the recipe When I successfully execute the recipe
And the output must contain "sourced recipe" Then the output must contain "sourced recipe"

View File

@ -8,4 +8,4 @@ Feature: `target' recipe keyword
puts env.target puts env.target
""" """
When I successfully execute the recipe 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"

View File

@ -10,4 +10,4 @@ Feature: `condition' task keyword
end end
""" """
When I successfully execute the recipe When I successfully execute the recipe
And the output must not contain "evaluated" Then the output must not contain "evaluated"

View File

@ -8,4 +8,4 @@ Feature: task evaluation
end end
""" """
When I successfully execute the 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"

View File

@ -13,7 +13,7 @@ Feature: `has_env' condition keyword
end end
""" """
When I successfully execute the recipe 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 Scenario: fails when remote environment variable is not defined
Given a recipe with: Given a recipe with:
@ -27,4 +27,4 @@ Feature: `has_env' condition keyword
end end
""" """
When I successfully execute the recipe When I successfully execute the recipe
And the output must not contain "evaluated" Then the output must not contain "evaluated"