lib/cuken/cucumber/ssh.rb in cuken-0.1.1 vs lib/cuken/cucumber/ssh.rb in cuken-0.1.2
- old
+ new
@@ -1,11 +1,11 @@
-require 'aruba/cucumber' unless defined? Aruba
+load 'aruba/cucumber.rb' unless defined? ::Aruba
World(::Cuken::Api::Ssh)
Before do
- @aruba_timeout_seconds.nil? || @aruba_timeout_seconds < 3 ? @aruba_timeout_seconds = 3 : @aruba_timeout_seconds
+ @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
@@ -20,22 +20,22 @@
Given /^a SSH client hostname$/ do
ssh_client_hostname
end
-Given /^default ssh\-forever options$/ do
+Given /^default ssh-forever options$/ do
ssh_forever_options(:default)
end
-Given /^the ssh\-forever options:$/ do |table|
+Given /^the ssh-forever options:$/ do |table|
ssh_forever_options(table)
end
-When /^I initialize password\-less SSH access for:$/ do |table|
+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
+Given /^I initialize password-less SSH access$/ do
ssh_init_password_less
end