Sha256: 09b433027ddc77504bfea09838cd7b33a10890b85c15d765752f9d792ee7e8da
Contents?: true
Size: 963 Bytes
Versions: 16
Compression:
Stored size: 963 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(' ') log_file = File.join(TEST_ROOT, 'testlab.log') step %(I run `#{app_name} --repo=#{TEST_REPO} --labfile=#{TEST_LABFILE} --log=#{log_file} #{args}`) end
Version data entries
16 entries across 16 versions & 1 rubygems