Sha256: a60724c2c67d34b894bd1a5dde7aec839be7b9f34f8449333427571345a5c5f6

Contents?: true

Size: 1.08 KB

Versions: 14

Compression:

Stored size: 1.08 KB

Contents

When /^I get the containers status with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(status -n test-server))
end

When /^I get the containers ssh-config with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(ssh-config -n test-server))
end

When /^I up the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(up -n test-server))
end

When /^I down the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(down -n test-server))
end

When /^I clone the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(clone -n test-server))
end

When /^I build the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(build -n test-server))
end

When /^I export the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(export -n test-server --output=/tmp/test-server.sc))
end

When /^I import the containers with "([^"]*)"$/ do |app_name|
  container_cmd(app_name, %W(import -n test-server --input=/tmp/test-server.sc))
end

def container_cmd(app_name, *args)
  testlab_cmd(app_name, [%(container), args].flatten)
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
testlab-1.1.0 features/step_definitions/container_steps.rb
testlab-1.0.1 features/step_definitions/container_steps.rb
testlab-1.0.0 features/step_definitions/container_steps.rb
testlab-0.9.1 features/step_definitions/container_steps.rb
testlab-0.9.0 features/step_definitions/container_steps.rb
testlab-0.8.6 features/step_definitions/container_steps.rb
testlab-0.8.5 features/step_definitions/container_steps.rb
testlab-0.8.4 features/step_definitions/container_steps.rb
testlab-0.8.3 features/step_definitions/container_steps.rb
testlab-0.8.2 features/step_definitions/container_steps.rb
testlab-0.8.1 features/step_definitions/container_steps.rb
testlab-0.8.0 features/step_definitions/container_steps.rb
testlab-0.7.6 features/step_definitions/container_steps.rb
testlab-0.7.5 features/step_definitions/container_steps.rb