Sha256: c3800e9513c7b6f3a3f3507d1c3d2c7a238f7f2d35484d4cd23a136fae3826ce
Contents?: true
Size: 1.63 KB
Versions: 40
Compression:
Stored size: 1.63 KB
Contents
Shindo.tests('Fog::Compute[:cloudstack] | template requests', ['cloudstack']) do @templates_format = { 'listtemplatesresponse' => { 'count' => Integer, 'template' => [ 'id' => Integer, 'name' => String, 'displaytext' => String, 'ispublic' => Fog::Boolean, 'created' => String, 'isready' => Fog::Boolean, 'passwordenabled' => Fog::Boolean, 'format' => String, 'isfeatured' => Fog::Boolean, 'crossZones' => Fog::Boolean, 'ostypeid' => Integer, 'ostypename' => String, 'account' => String, 'zoneid' => Integer, 'zonename' => String, 'status' => Fog::Nullable::String, 'size' => Fog::Nullable::Integer, 'templatetype' => String, 'hypervisor' => String, 'domain' => String, 'domainid' => Integer, 'isextractable' => Fog::Boolean, 'checksum' => Fog::Nullable::String, 'sourcetemplateid' => Fog::Nullable::Integer, 'accountid' => Fog::Nullable::Integer, 'bootable' => Fog::Nullable::Boolean, 'hostid' => Fog::Nullable::Integer, 'hostname' => Fog::Nullable::String, 'jobid' => Fog::Nullable::Integer, 'jobstatus' => Fog::Nullable::Integer, 'removed' => Fog::Nullable::Boolean, 'templatetag' => Fog::Nullable::String, 'templatetype' => Fog::Nullable::String ] } } tests('success') do tests('#list_templates').formats(@templates_format) do pending if Fog.mocking? Fog::Compute[:cloudstack].list_templates('templateFilter' => "executable") end end end
Version data entries
40 entries across 38 versions & 5 rubygems