mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
d2e06e96ca
pluralize service name use multi_json fix directory structure for consistency
17 lines
359 B
Ruby
17 lines
359 B
Ruby
Shindo.tests('Fog::Rackspace::LoadBalancers | 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
|