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

Version Path
testlab-1.4.4 features/step_definitions/testlab_steps.rb
testlab-1.4.3 features/step_definitions/testlab_steps.rb
testlab-1.4.2 features/step_definitions/testlab_steps.rb
testlab-1.4.1 features/step_definitions/testlab_steps.rb
testlab-1.4.0 features/step_definitions/testlab_steps.rb
testlab-1.3.2 features/step_definitions/testlab_steps.rb
testlab-1.3.1 features/step_definitions/testlab_steps.rb
testlab-1.3.0 features/step_definitions/testlab_steps.rb
testlab-1.2.3 features/step_definitions/testlab_steps.rb
testlab-1.2.2 features/step_definitions/testlab_steps.rb
testlab-1.2.1 features/step_definitions/testlab_steps.rb
testlab-1.2.0 features/step_definitions/testlab_steps.rb
testlab-1.1.0 features/step_definitions/testlab_steps.rb
testlab-1.0.1 features/step_definitions/testlab_steps.rb
testlab-1.0.0 features/step_definitions/testlab_steps.rb
testlab-0.9.1 features/step_definitions/testlab_steps.rb
testlab-0.9.0 features/step_definitions/testlab_steps.rb
testlab-0.8.6 features/step_definitions/testlab_steps.rb
testlab-0.8.5 features/step_definitions/testlab_steps.rb
testlab-0.8.4 features/step_definitions/testlab_steps.rb