Sha256: 22bc084bb45ef19398be28c176c425e1dc7576a76538c9227cfae9c83ef2b2cc
Contents?: true
Size: 563 Bytes
Versions: 20
Compression:
Stored size: 563 Bytes
Contents
require File.dirname(__FILE__) + '/helper' module Torpedo module Compute class Flavors < Test::Unit::TestCase def setup @conn=Helper::get_connection end def test_list @conn.flavors.each do |flavor| assert_not_nil(flavor[:id]) assert_not_nil(flavor[:name]) assert_not_nil(flavor[:ram]) assert_not_nil(flavor[:disk]) end end def test_get flavor = @conn.flavor(1) assert_not_nil(flavor.id) assert_not_nil(flavor.name) assert_not_nil(flavor.ram) assert_not_nil(flavor.disk) end end end end
Version data entries
20 entries across 20 versions & 1 rubygems