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

25 lines
611 B
Ruby

Shindo.tests('Fog::Compute[:cloudstack] | egress firewall rule requests', ['cloudstack']) do
@egress_firewall_rules_format = {
'listegressfirewallrulesresponse' => {
'count' => Integer,
'firewallrule' => [
'id' => String,
'protocol' => String,
'networkid' => String,
'state' => String,
'cidrlist' => String,
'tags' => Fog::Nullable::Array
]
}
}
tests('success') do
tests('#list_egress_firewall_rules').formats(@egress_firewall_rules_format) do
Fog::Compute[:cloudstack].list_egress_firewall_rules
end
end
end