Refactor features
This commit is contained in:
1 parent
959ffca4e9
commit
a033e19583
15 files changed
+40
-63
No files matched your search
@@ -6,11 +6,20 @@ When /^I execute the recipe$/ do
|
||||
run_simple 'producer recipe.rb', false
|
||||
end
|
||||
|
||||
When /^I execute the recipe on remote target$/ do
|
||||
run_simple 'producer recipe.rb -t some_host.test', false
|
||||
end
|
||||
|
||||
When /^I successfully execute the recipe$/ do
|
||||
step 'I execute the recipe'
|
||||
assert_exit_status 0
|
||||
end
|
||||
|
||||
When /^I successfully execute the recipe on remote target$/ do
|
||||
step 'I execute the recipe on remote target'
|
||||
assert_exit_status 0
|
||||
end
|
||||
|
||||
When /^I successfully execute the recipe with option (-.+)$/ do |option|
|
||||
run_simple "producer #{option} recipe.rb", false
|
||||
assert_exit_status 0
|
||||
|
||||
Reference in new issue
Block a user