mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
15 lines
No EOL
311 B
Ruby
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 |