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

Version Path
testlab-1.18.0 features/step_definitions/testlab_steps.rb
testlab-1.17.0 features/step_definitions/testlab_steps.rb
testlab-1.16.1 features/step_definitions/testlab_steps.rb
testlab-1.16.0 features/step_definitions/testlab_steps.rb
testlab-1.15.1 features/step_definitions/testlab_steps.rb
testlab-1.15.0 features/step_definitions/testlab_steps.rb
testlab-1.14.0 features/step_definitions/testlab_steps.rb
testlab-1.13.0 features/step_definitions/testlab_steps.rb
testlab-1.12.0 features/step_definitions/testlab_steps.rb
testlab-1.11.7 features/step_definitions/testlab_steps.rb
testlab-1.11.6 features/step_definitions/testlab_steps.rb
testlab-1.11.5 features/step_definitions/testlab_steps.rb
testlab-1.11.4 features/step_definitions/testlab_steps.rb
testlab-1.11.3 features/step_definitions/testlab_steps.rb
testlab-1.11.2 features/step_definitions/testlab_steps.rb
testlab-1.11.1 features/step_definitions/testlab_steps.rb
testlab-1.11.0 features/step_definitions/testlab_steps.rb
testlab-1.10.0 features/step_definitions/testlab_steps.rb
testlab-1.9.2 features/step_definitions/testlab_steps.rb
testlab-1.9.1 features/step_definitions/testlab_steps.rb