Fix missing Then keywords in cucumber features
This commit is contained in:
@@ -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"
|
||||||
|
@@ -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"
|
||||||
|
@@ -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"
|
||||||
|
@@ -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"
|
||||||
|
@@ -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"
|
||||||
|
@@ -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"
|
||||||
|
@@ -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"
|
||||||
|
Reference in New Issue
Block a user