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

18 lines
428 B
Ruby
Raw Normal View History

Shindo.tests("HP::LB | limits requests", ['hp', 'lb', 'limits']) do
2013-03-06 13:34:52 -05:00
@limits_format = {
'maxLoadBalancerNameLength' => Integer,
'maxLoadBalancers' => Integer,
'maxNodesPerLoadBalancer' => Integer,
'maxVIPsPerLoadBalancer' => Integer,
}
tests('success') do
tests('#list_limits').formats({'limits' => [{'values' => @limits_format }]}) do
2013-03-06 13:34:52 -05:00
HP[:lb].list_limits.body
end
end
end