Sha256: 22c0f0bbfd1e55f1179ee943c4d5ffe24f942b1de4610d6cf906bf39dd9f7b3b
Contents?: true
Size: 813 Bytes
Versions: 32
Compression:
Stored size: 813 Bytes
Contents
Shindo.tests('Fog::Compute[:cloudstack] | os type requests', ['cloudstack']) do @os_types_format = { 'listostypesresponse' => { 'count' => Integer, 'ostype' => [ 'id' => Integer, 'description' => String, 'oscategoryid' => Integer ] } } @os_categories_format = { 'listoscategoriesresponse' => { 'count' => Integer, 'oscategory' => [ 'id' => Integer, 'name' => String ] } } tests('success') do tests('#list_os_types').formats(@os_types_format) do pending if Fog.mocking? Fog::Compute[:cloudstack].list_os_types end tests('#list_os_categories').formats(@os_categories_format) do pending if Fog.mocking? Fog::Compute[:cloudstack].list_os_categories end end end
Version data entries
32 entries across 32 versions & 14 rubygems