Sha256: 3490ee7b62d485c390423efaeffa7b5a2ee644885f345fcfc734823ed4135b68
Contents?: true
Size: 781 Bytes
Versions: 55
Compression:
Stored size: 781 Bytes
Contents
Shindo.tests('Fog::Compute[:cloudstack] | os type requests', ['cloudstack']) do @os_types_format = { 'listostypesresponse' => { 'count' => Integer, 'ostype' => [ 'id' => String, 'description' => String, 'oscategoryid' => String ] } } @os_categories_format = { 'listoscategoriesresponse' => { 'count' => Integer, 'oscategory' => [ 'id' => Integer, 'name' => String ] } } tests('success') do tests('#list_os_types').formats(@os_types_format) do 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
55 entries across 55 versions & 3 rubygems