features/step_definitions/testlab_steps.rb in testlab-1.4.4 vs features/step_definitions/testlab_steps.rb in testlab-1.5.0

- old
+ new

@@ -24,9 +24,13 @@ When /^I destroy the lab with "([^"]*)"$/ do |app_name| testlab_cmd(app_name, %W(destroy)) end +When /^I bounce the lab with "([^"]*)"$/ do |app_name| + testlab_cmd(app_name, %W(bounce)) +end + def testlab_cmd(app_name, *args) args = args.join(' ') step %(I run `#{app_name} --repo=#{TEST_REPO} --labfile=#{TEST_LABFILE} #{args}`) end