mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
17 lines
358 B
Ruby
17 lines
358 B
Ruby
Shindo.tests('Fog::Rackspace::LoadBalancer | algorithm_tests', ['rackspace']) do
|
|
|
|
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
|