mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
18 lines
No EOL
443 B
Ruby
18 lines
No EOL
443 B
Ruby
Shindo.tests("Fog::HP::LB | list limits", ['hp', 'lb', 'limits']) do
|
|
@limits_format = {
|
|
'maxLoadBalancerNameLength' => Integer,
|
|
'maxLoadBalancers' => Integer,
|
|
'maxNodesPerLoadBalancer' => Integer,
|
|
'maxVIPsPerLoadBalancer' => Integer,
|
|
}
|
|
|
|
|
|
tests('success') do
|
|
|
|
tests("#list_limits").formats({'limits' => {"absolute" => {"values" => @limits_format }}}) do
|
|
HP[:lb].list_limits.body
|
|
end
|
|
end
|
|
|
|
|
|
end |