mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
19 lines
386 B
Ruby
19 lines
386 B
Ruby
Shindo.tests('Fog::Rackspace::LoadBalancers | algorithm_tests', ['rackspace']) do
|
|
|
|
pending if Fog.mocking?
|
|
|
|
ALGORITHMS_FORMAT = {
|
|
'algorithms' => [
|
|
{
|
|
'name' => String
|
|
}
|
|
]}
|
|
|
|
@service = Fog::Rackspace::LoadBalancer.new
|
|
|
|
tests('success') do
|
|
tests('#list_algorithms').formats(ALGORITHMS_FORMAT) do
|
|
@service.list_algorithms.body
|
|
end
|
|
end
|
|
end
|