Sha256: da32e9ee5881412b20e9fad6f8cc6f1bb9424b86529d8ae4ac7089649044da65

Contents?: true

Size: 1.45 KB

Versions: 2

Compression:

Stored size: 1.45 KB

Contents

#
# Author:: Hedgehog (<hedgehogshiatus@gmail.com>)
# Copyright:: Copyright (c) 2011 Hedgehog.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
load 'aruba/cucumber.rb' unless defined? ::Aruba

World(::Cuken::Api::Ssh)

Before do
  @aruba_timeout_seconds.nil? || @aruba_timeout_seconds < 5 ? @aruba_timeout_seconds = 5 : @aruba_timeout_seconds
end

Given /^a SSH client user "([^\"]*)"$/ do |name|
  ssh_client_hostname name
end

Given /^a SSH client user$/ do
  ssh_client_hostname
end

Given /^a SSH client hostname "([^\"]*)"$/ do |name|
  ssh_client_hostname name
end

Given /^a SSH client hostname$/ do
  ssh_client_hostname
end

Given /^default ssh-forever options$/ do
  ssh_forever_options(:default)
end

Given /^the ssh-forever options:$/ do |table|
  ssh_forever_options(table)
end

When /^I initialize password-less SSH access for:$/ do |table|
  ssh_init_password_less_batch(table)
end

Given /^I initialize password-less SSH access$/ do
  ssh_init_password_less
end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cuken-0.1.13 lib/cuken/cucumber/ssh.rb
cuken-0.1.12 lib/cuken/cucumber/ssh.rb