Sha256: d0060a5ae45ccd10d59ed0340a80676ac54591411d4fb2d7e75c2b5eb593ecec
Contents?: true
Size: 446 Bytes
Versions: 100
Compression:
Stored size: 446 Bytes
Contents
Shindo.tests('Fog::Compute::RackspaceV2 | images', ['rackspace']) do service = Fog::Compute::RackspaceV2.new image_id = nil tests("success") do tests("#all").succeeds do images = service.images.all image_id = images.first.id end tests("#get").succeeds do service.images.get(image_id) end end tests("failure").returns(nil) do service.images.get(Fog::Rackspace::MockData::NOT_FOUND_ID) end end
Version data entries
100 entries across 98 versions & 11 rubygems