:GatewayInterface is located 1 level deeper

This commit is contained in:
Simas Cepaitis 2014-09-12 15:47:35 +01:00
parent 04810c1039
commit 8d1380e6fd
1 changed files with 1 additions and 1 deletions

View File

@ -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],