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:
parent
53f49b4c93
commit
92ac87696c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue