mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
ensuring tests are good for empty orgs and are skipped when mocking
This commit is contained in:
parent
d8be4421bc
commit
91bec6fe30
2 changed files with 4 additions and 2 deletions
|
@ -43,6 +43,8 @@ Shindo.tests('Compute::VcloudDirector | edge gateway requests', ['vclouddirector
|
|||
|
||||
|
||||
tests('Retrieve non-existent edge gateway').raises(Excon::Errors::Forbidden) do
|
||||
pending if Fog.mocking?
|
||||
|
||||
@service.get_edge_gateway('00000000-0000-0000-0000-000000000000')
|
||||
end
|
||||
|
||||
|
|
|
@ -316,7 +316,7 @@ class VcloudDirector
|
|||
:IsEnabled => String,
|
||||
:DefaultAction => String,
|
||||
:LogDefaultAction => String,
|
||||
:FirewallRule => [FIREWALL_RULE_TYPE]
|
||||
#:FirewallRule => [FIREWALL_RULE_TYPE] # not required
|
||||
}
|
||||
|
||||
#Represents the SNAT and DNAT rules.
|
||||
|
@ -344,7 +344,7 @@ class VcloudDirector
|
|||
:IsEnabled => String,
|
||||
:NatType => Fog::Nullable::String,
|
||||
:Policy => Fog::Nullable::String,
|
||||
:NatRule => [NAT_RULE_TYPE],
|
||||
#:NatRule => [NAT_RULE_TYPE], # not required
|
||||
:ExternalIp => Fog::Nullable::String
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue