Sha256: f8a9a87ab2cd0b67c27104b9b95cde24dd90d8676cd50e7b989f348675c41078
Contents?: true
Size: 623 Bytes
Versions: 37
Compression:
Stored size: 623 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
37 entries across 37 versions & 5 rubygems