1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #2246 from alphagov/vcloud_director_edge_gateway_test_fixes

[vcloud_director] Corrected edge_gateway schema and removed bad test
This commit is contained in:
Nick Osborn 2013-10-10 05:07:57 -07:00
commit 516dd7e949
2 changed files with 2 additions and 6 deletions

View file

@ -41,8 +41,4 @@ Shindo.tests('Compute::VcloudDirector | edge gateway requests', ['vclouddirector
@service.get_edge_gateway('00000000-0000-0000-0000-000000000000')
end
tests('Retrieve edge gateways for non-existent VDC').raises(Excon::Errors::Forbidden) do
@service.get_edge_gateways('00000000-0000-0000-0000-000000000000')
end
end

View file

@ -512,7 +512,7 @@ class VcloudDirector
#:GatewayIpsecVpnService => GATEWAY_IPSEC_VPN_SERVICE_TYPE, #not required
#:GatewayDhcpService => GATEWAY_DHCP_SERVICE_TYPE, #not required
#:LoadBalancerService => LOAD_BALANCER_SERVICE_TYPE, #not required
:NatService => NAT_SERVICE_TYPE,
#:NatService => NAT_SERVICE_TYPE, #not required
:FirewallService => FIREWALL_SERVICE_TYPE
}