lib/serverspec/helper/ssh.rb in serverspec-0.2.7 vs lib/serverspec/helper/ssh.rb in serverspec-0.2.8

- old
+ new

@@ -1,9 +1,9 @@ module Serverspec module Helper module Ssh - def backend - Serverspec::Backend::Ssh.new(commands) + def backend(commands_object=nil) + Serverspec::Backend::Ssh.new(commands_object || commands) end end end end