1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/vcloud_director/requests/compute/admin_tests.rb

16 lines
476 B
Ruby

Shindo.tests('Compute::VcloudDirector | admin requests', ['vclouddirector']) do
@service = Fog::Compute::VcloudDirector.new
tests('#get_vcloud').data_matches_schema(VcloudDirector::Compute::Schema::VCLOUD_TYPE) do
@service.get_vcloud.body
end
@org = VcloudDirector::Compute::Helper.current_org(@service)
tests('#get_org_settings').returns(Hash) do
pending if Fog.mocking?
@service.get_org_settings(@org[:href].split('/').last).body.class
end
end