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/security_group_tests.rb
Paul Thornthwaite 330a351ade Remove trailing blank lines
Done with `rubocop --auto-correct --only TrailingBlankLines`
2014-05-26 14:35:26 +01:00

29 lines
748 B
Ruby

Shindo.tests('Fog::Compute[:cloudstack] | security group requests', ['cloudstack']) do
@security_groups_format = {
'listsecuritygroupsresponse' => {
'count' => Integer,
'securitygroup' => [
'id' => Integer,
'account' => String,
'description' => Fog::Nullable::String,
'domain' => String,
'domainid' => Integer,
'jobid' => Fog::Nullable::Integer,
'jobstatus' => Fog::Nullable::String,
'name' => String,
'ingressrule' => Fog::Nullable::Array
]
}
}
tests('success') do
tests('#list_security_groups').formats(@security_groups_format) do
pending if Fog.mocking?
Fog::Compute[:cloudstack].list_security_groups
end
end
end