Fix missing Then keywords in cucumber features
This commit is contained in:
parent
33a2b9de5a
commit
85109afd46
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user