From 8d1380e6fd7bdd12d69d71fc1f77bc78c7d93f25 Mon Sep 17 00:00:00 2001 From: Simas Cepaitis Date: Fri, 12 Sep 2014 15:47:35 +0100 Subject: [PATCH] :GatewayInterface is located 1 level deeper --- tests/vcloud_director/requests/compute/edge_gateway_tests.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vcloud_director/requests/compute/edge_gateway_tests.rb b/tests/vcloud_director/requests/compute/edge_gateway_tests.rb index c6fedc5f8..9b340c5f7 100644 --- a/tests/vcloud_director/requests/compute/edge_gateway_tests.rb +++ b/tests/vcloud_director/requests/compute/edge_gateway_tests.rb @@ -157,7 +157,7 @@ Shindo.tests('Compute::VcloudDirector | edge gateway requests', ['vclouddirector tests('#check Static Routing service configuration').returns(true) do edge_gateway = @service.get_edge_gateway(@edge_gateway_id).body - gateway_interface = edge_gateway[:Configuration][:GatewayInterface].first + gateway_interface = edge_gateway[:Configuration][:GatewayInterfaces][:GatewayInterface].first @routing_service_configuration[:StaticRoutingService][:StaticRoute].first[:GatewayInterface] = { :type => gateway_interface[:type], :name => gateway_interface[:name],