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/algorithm_tests.rb
geemus d2e06e96ca [rackspace|loadbalancers] cleanup
pluralize service name
use multi_json
fix directory structure for consistency
2011-08-04 16:21:22 -05:00

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