Sha256: d0b1ccc8d735aafa1541904b756fefadbf7f28c777828c0771328fc4f9a02b67
Contents?: true
Size: 715 Bytes
Versions: 26
Compression:
Stored size: 715 Bytes
Contents
require 'rubygems' require 'log4r' require 'net/ssh' require 'net/sftp' require 'lib/depengine/helper/validations' require 'lib/depengine/publisher/dweb' require 'lib/depengine/log/log' $log = Log::DeploymentLogger.new $log.level = Log4r::ERROR $exec_file_path = __FILE__ describe "the dweb publisher" do it "should execute a command on a dweb staging host" do worker = Publisher::Dweb.new worker.staging_host = '217.73.53.42' worker.ssh_key_file = '../etc/ssh/id_rsa.deployadmin' worker.siteid = 'dw09964' result = worker.send_command('list') result.should include("complete") end it "should upload files to the dweb staging system" do # todo end end
Version data entries
26 entries across 26 versions & 1 rubygems