1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[rackspace|lb] Use a non-default timeout so we are actually testing if the attribute was set

This commit is contained in:
Decklin Foster 2013-06-10 13:03:19 -04:00
parent 47a1a930fd
commit 667c473b7d

View file

@ -167,10 +167,10 @@ Shindo.tests('Fog::Rackspace::LoadBalancers | load_balancer', ['rackspace']) do
tests('create(...with algorithm...)') do
attributes = LOAD_BALANCER_ATTRIBUTES.clone
attributes[:algorithm] = 'LEAST_CONNECTIONS'
attributes[:timeout] = 30
attributes[:timeout] = 60
@lb = @service.load_balancers.create attributes
returns('LEAST_CONNECTIONS') { @lb.algorithm }
returns(30) { @lb.timeout }
returns(60) { @lb.timeout }
@lb.wait_for { ready? }