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

15 lines
No EOL
311 B
Ruby

Shindo.tests("Fog::HP::LB | list protocols", ['hp', 'lb', 'protocols']) do
@protocol_format = {
'name' => String,
'port' => Integer,
}
tests('success') do
tests("#list_protocols").formats({'protocols' => [@protocol_format]}) do
HP[:lb].list_protocols.body
end
end
end