Sha256: 3e93124df917f38427fb6ce77e027be151ed5deba7bd6f0f32a6585ed310fbf8

Contents?: true

Size: 432 Bytes

Versions: 3

Compression:

Stored size: 432 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 stacks" do
    it "lists all stacks" do
      base = Awsssh::Awsssh.new ["-s"]
      base.send(:list_stacks, 'trox').class.should eq [].class
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
awsssh-2.2.2 spec/awsssh_spec.rb
awsssh-2.2.1 spec/awsssh_spec.rb
awsssh-2.2.0 spec/awsssh_spec.rb