1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/rackspace/requests/protocol_tests.rb

20 lines
380 B
Ruby
Raw Normal View History

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