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/get_load_balancer_tests.rb
2013-10-30 19:02:01 -04:00

26 lines
No EOL
527 B
Ruby

Shindo.tests("Fog::HP::LB | get load balancer", ['hp', 'lb', 'load_balancers']) do
@lb_format = {
'id' => String,
'name' => String,
'protocol' => String,
'port' => String,
'algorithm' => String,
'status' => String,
'created' => String,
'updated' => String,
'virtualIps' => [Hash],
'nodes' => [Hash]
}
tests('success') do
tests("#get_load_balancer").formats(@lb_format) do
HP[:lb].get_load_balancer('71').body
end
end
end