mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
15 lines
305 B
Ruby
15 lines
305 B
Ruby
![]() |
Shindo.tests("HP::LB | protocols requests", ['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
|