From 6ca9fd7a70f30783599897003ac10b3cc5afb859 Mon Sep 17 00:00:00 2001 From: Michael Hale Date: Thu, 1 Aug 2013 15:47:55 -0400 Subject: [PATCH] [AWS|ELB] fix backend server descriptions model test. Reload the elb to pickup the latest descriptions. --- tests/aws/models/elb/model_tests.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/aws/models/elb/model_tests.rb b/tests/aws/models/elb/model_tests.rb index 2c4206fd4..8c8441912 100644 --- a/tests/aws/models/elb/model_tests.rb +++ b/tests/aws/models/elb/model_tests.rb @@ -292,7 +292,7 @@ Shindo.tests('AWS::ELB | models', ['aws', 'elb']) do port = 80 Fog::AWS[:elb].create_load_balancer_policy(elb.id, policy, 'ProxyProtocolPolicyType', { "ProxyProtocol" => true }) Fog::AWS[:elb].set_load_balancer_policies_for_backend_server(elb.id, port, [policy]).body - + elb.reload returns([policy]) { elb.backend_server_descriptions.get(port).policy_names } end end