Sha256: ac58890c294f7b0ab9dcf081b5d6227291ad920bf67670f194893329ed041379
Contents?: true
Size: 457 Bytes
Versions: 13
Compression:
Stored size: 457 Bytes
Contents
Shindo.tests('Fog::Compute::RackspaceV2 | images', ['rackspace']) do pending if Fog.mocking? 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('some_random_identity') end end
Version data entries
13 entries across 13 versions & 6 rubygems