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

[vcloud_director] fix query test to handle delete_network

workaround really, until we figure out how to clean-room the Mocks on a per-test basis. delete_network was removing the same network we were trying to query in query Test
This commit is contained in:
Mike Pountney 2013-12-18 11:59:32 +00:00
parent 53f49b4c93
commit 92ac87696c

View file

@ -59,7 +59,7 @@ Shindo.tests('Compute::VcloudDirector | query requests', ['vclouddirector']) do
tests('all records').returns(@service.data[:networks].size) do
output[:OrgVdcNetworkRecords].size
end
output = @service.get_execute_query('orgVdcNetwork', :filter => 'name==Default Network').body
output = @service.get_execute_query('orgVdcNetwork', :filter => 'name==vDC1 backend network').body
tests(':filter by name').returns(1) do
output[:OrgVdcNetworkRecords].size
end