mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
19 lines
380 B
Ruby
19 lines
380 B
Ruby
Shindo.tests('Fog::Rackspace::LoadBalancer | protocol_tests', ['rackspace']) do
|
|
|
|
PROTOCOLS_FORMAT = {
|
|
'protocols' => [
|
|
{
|
|
'name' => String,
|
|
'port' => Integer
|
|
}
|
|
]}
|
|
|
|
@service = Fog::Rackspace::LoadBalancer.new
|
|
|
|
tests('success') do
|
|
|
|
tests('#list_protocols').formats(PROTOCOLS_FORMAT) do
|
|
@service.list_protocols.body
|
|
end
|
|
end
|
|
end
|