Refactor features

This commit is contained in:
Thibault Jouan
2014-07-18 12:23:17 +00:00
parent 959ffca4e9
commit a033e19583
15 changed files with 40 additions and 63 deletions

View File

@@ -22,8 +22,6 @@ Feature: `test_macro' recipe keyword
Scenario: has access to core tests
Given a recipe with:
"""
target 'some_host.test'
test_macro(:other_env?) { |k| env? k }
[:shell, :non_existent_var].each do |k|
@@ -33,7 +31,7 @@ Feature: `test_macro' recipe keyword
end
end
"""
When I successfully execute the recipe
When I successfully execute the recipe on remote target
Then the output must contain "shell_ok"
Then the output must not contain "non_existent_var_ok"