Sha256: b3ca6fb4c423a8306c75224154882265c0e40cfef812d984f03a41581f057f1e
Contents?: true
Size: 1.23 KB
Versions: 130
Compression:
Stored size: 1.23 KB
Contents
Shindo.tests('Fog::Compute[:voxel] | image requests', ['voxel']) do @images_format = { 'images' => [{ 'id' => Integer, 'summary' => String }], 'stat' => String } @image_format = { 'images' => [{ 'description' => String, 'id' => Integer, 'filesystem' => { 'size' => Integer, 'type' => String, 'units' => String, }, 'operating_system' => { 'admin_username' => String, 'architecture' => Integer, 'family' => String, 'product_family' => String, 'product_version' => String, 'version' => String }, 'summary' => String }], 'stat' => String } tests('success') do tests('#images_list').formats(@images_format) do pending if Fog.mocking? Fog::Compute[:voxel].images_list.body end tests('#images_list(1)').formats(@image_format) do pending if Fog.mocking? Fog::Compute[:voxel].images_list(1).body end end tests('failure') do tests('#images_list(0)').raises(Fog::Compute::Voxel::Error) do pending if Fog.mocking? Fog::Compute[:voxel].images_list(0).body end end end
Version data entries
130 entries across 128 versions & 22 rubygems