1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/ninefold/requests/compute/load_balancer_tests.rb

13 lines
531 B
Ruby
Raw Normal View History

2012-08-11 20:55:30 +10:00
Shindo.tests('Fog::Compute[:ninefold] | load balancers', ['ninefold']) do
tests('success') do
tests("#create_load_balancer_rule()").formats(Ninefold::Compute::Formats::LoadBalancers::CREATE_LOAD_BALANCER_RULE_RESPONSE) do
pending if Fog.mocking?
job = Fog::Compute[:ninefold].create_load_balancer_rule(:algorithm => 'roundrobin', :name => 'test', :privateport => 1000, :publicport => 2000)
Ninefold::Compute::TestSupport.wait_for_job(job)['jobresult']['createloadbalancerruleresponse']
end
end
end