Sha256: 27f94c5a4c7f349e1aa4ef58c381c858f6074168561290d6eb87561c8ab3a1d6
Contents?: true
Size: 896 Bytes
Versions: 38
Compression:
Stored size: 896 Bytes
Contents
When /^I get help for "([^"]*)"$/ do |app_name| testlab_cmd(app_name, %W(help)) end When /^I get the status with "([^"]*)"$/ do |app_name| testlab_cmd(app_name, %W(status)) end When /^I build the lab with "([^"]*)"$/ do |app_name| testlab_cmd(app_name, %W(build)) end When /^I demolish the lab with "([^"]*)"$/ do |app_name| testlab_cmd(app_name, %W(demolish)) end When /^I up the lab with "([^"]*)"$/ do |app_name| testlab_cmd(app_name, %W(up)) end When /^I down the lab with "([^"]*)"$/ do |app_name| testlab_cmd(app_name, %W(down)) end 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
Version data entries
38 entries across 38 versions & 1 rubygems