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
2011-08-16 22:22:24 -04:00

19 lines
387 B
Ruby

Shindo.tests('Fog::Rackspace::LoadBalancers | algorithm_tests', ['rackspace']) do
pending if Fog.mocking?
ALGORITHMS_FORMAT = {
'algorithms' => [
{
'name' => String
}
]}
@service = Fog::Rackspace::LoadBalancers.new
tests('success') do
tests('#list_algorithms').formats(ALGORITHMS_FORMAT) do
@service.list_algorithms.body
end
end
end