Sha256: 2e645c14127b462ee1c403a9bb96feb9e5d88c9fd0b63999c87d30cd0ec0760b
Contents?: true
Size: 478 Bytes
Versions: 17
Compression:
Stored size: 478 Bytes
Contents
Shindo.tests('Fog::Compute[:openstack] | tenant requests', ['openstack']) do @tenant_format = { 'id' => String, 'name' => String, 'enabled' => Fog::Boolean, 'description' => String } tests('success') do tests('#list_tenants').formats({'tenants' => [@tenant_format]}) do Fog::Compute[:openstack].list_tenants.body end tests('#set_tenant("admin")').succeeds do Fog::Compute[:openstack].set_tenant("admin") end end end
Version data entries
17 entries across 17 versions & 7 rubygems