Sha256: 576cc37afc97fc7789610421e42a88659439d4cd2df383b486fe87a308f1cf6e
Contents?: true
Size: 716 Bytes
Versions: 1
Compression:
Stored size: 716 Bytes
Contents
require File.dirname(__FILE__) + '/helper' module Torpedo module Compute class Images < Test::Unit::TestCase def setup @conn=Helper::get_connection @image_id = Helper::get_image_ref(@conn) end def test_list @conn.images.each do |image| assert_not_nil(image.id) assert_not_nil(image.name) assert_not_nil(image.status) end end def test_get image=@conn.images.get(@image_id) assert_equal(@image_id, image.id.to_s) assert_not_nil(image.name) assert_not_nil(image.updated_at) assert_not_nil(image.created_at) assert_not_nil(image.status) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
torpedo-2.1.0 | lib/torpedo/compute/images.rb |