Sha256: b67de9709dfd15990eecc2e658b6500f8336a58e7bbb3ed76db93fbc14050c3d
Contents?: true
Size: 567 Bytes
Versions: 22
Compression:
Stored size: 567 Bytes
Contents
class TestHost < TestYaoResource def test_host # https://docs.openstack.org/api-ref/compute/?expanded=list-flavors-detail,list-flavors-with-details-detail,list-hosts-detail#hosts-os-hosts-deprecated params = { "host_name" => "b6e4adbc193d428ea923899d07fb001e", "service" => "conductor", "zone" => "internal" } host = Yao::Host.new(params) # friendly_attributes assert_equal("b6e4adbc193d428ea923899d07fb001e", host.host_name) assert_equal("conductor", host.service) assert_equal("internal", host.zone) end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
yao-0.9.1 | test/yao/resources/test_host.rb |
yao-0.9.0 | test/yao/resources/test_host.rb |