Sha256: 899d9a594d7bc34d55af69f968d830cfb36e8dfcf1446b9b4a768b68e349343c
Contents?: true
Size: 627 Bytes
Versions: 53
Compression:
Stored size: 627 Bytes
Contents
Shindo.tests("Fog::Image[:openstack] | images", ['openstack']) do @instance = Fog::Image[:openstack].create_image({:name => "model test image"}).body tests('success') do tests('#find_by_id').succeeds do image = Fog::Image[:openstack].images.find_by_id(@instance['image']['id']) image.id == @instance['image']['id'] end tests('#get').succeeds do image = Fog::Image[:openstack].images.get(@instance['image']['id']) image.id == @instance['image']['id'] end tests('#destroy').succeeds do Fog::Image[:openstack].images.destroy(@instance['image']['id']) end end end
Version data entries
53 entries across 53 versions & 3 rubygems