Sha256: 323fce33f65c5039e17f93298f5029abf89f9301573e17e80efc28fe554b0ba8
Contents?: true
Size: 800 Bytes
Versions: 24
Compression:
Stored size: 800 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 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
24 entries across 24 versions & 1 rubygems