Sha256: 71f793c14fcd12900ee585245b073173170f72715dad53ac301d57848ae6561a
Contents?: true
Size: 437 Bytes
Versions: 1
Compression:
Stored size: 437 Bytes
Contents
require "awsssh" describe Awsssh::Awsssh do def runner(options = {}) @runner ||= Awsssh::Awsssh.new([1], options, :destination_root => destination_root) end def action(*args, &block) capture(:stdout) { runner.send(*args, &block) } end describe "on list server" do it "lists all server" do base = Awsssh::Awsssh.new ["-s"] expect(base.send(:list_server, 'trox').class).to eq [].class end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
awsssh-3.0.0.rc1 | spec/awsssh_spec.rb |