Sha256: 2534ccb40c99b9744b584858dde4ba5f5bb0e0d2704a260424dcf0e525150ce8
Contents?: true
Size: 656 Bytes
Versions: 32
Compression:
Stored size: 656 Bytes
Contents
Shindo.tests('Fog::Compute[:slicehost] | image requests', ['slicehost']) do @image_format = { 'id' => Integer, 'name' => String } tests('success') do tests('#get_image(19)').formats(@image_format) do pending if Fog.mocking? Fog::Compute[:slicehost].get_image(19).body end tests('#get_images').formats({ 'images' => [@image_format] }) do pending if Fog.mocking? Fog::Compute[:slicehost].get_images.body end end tests('failure') do tests('#get_image(0)').raises(Excon::Errors::Forbidden) do pending if Fog.mocking? Fog::Compute[:slicehost].get_image(0) end end end
Version data entries
32 entries across 32 versions & 8 rubygems