Sha256: c1b2c81c11323067e62af417dfd58f743cdaeb3d7ab9f8485a76a7ffd15c48a2

Contents?: true

Size: 304 Bytes

Versions: 6

Compression:

Stored size: 304 Bytes

Contents

require "spec_helper"
require "cloudstack-cli"

describe Template do

  it "should list templates" do
    out, err = capture_io do
      CloudstackCli::Cli.start [
        "template",
        "list",
        "--zone=#{ZONE}"
      ]
    end
    err.must_equal ""
    out.must_include TEMPLATE
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cloudstack-cli-1.6.10 spec/cloudstack-cli/commands/template_spec.rb
cloudstack-cli-1.6.9 spec/cloudstack-cli/commands/template_spec.rb
cloudstack-cli-1.6.8 spec/cloudstack-cli/commands/template_spec.rb
cloudstack-cli-1.6.7 spec/cloudstack-cli/commands/template_spec.rb
cloudstack-cli-1.6.6 spec/cloudstack-cli/commands/template_spec.rb
cloudstack-cli-1.6.5 spec/cloudstack-cli/commands/template_spec.rb