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/load_balancers/protocol_tests.rb

22 lines
409 B
Ruby
Raw Normal View History

Shindo.tests('Fog::Rackspace::LoadBalancers | protocol_tests', ['rackspace']) do
pending if Fog.mocking?
PROTOCOLS_FORMAT = {
'protocols' => [
{
'name' => String,
'port' => Integer
}
]}
@service = Fog::Rackspace::LoadBalancers.new
tests('success') do
tests('#list_protocols').formats(PROTOCOLS_FORMAT) do
@service.list_protocols.body
end
end
end