mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[vcloud_director] tests become pending not failing on absense of testable resources
This commit is contained in:
parent
9206b64374
commit
f284ba6d19
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,9 @@ require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
||||||
|
|
||||||
Shindo.tests("Compute::VcloudDirector | vapps", ['vclouddirector', 'all']) do
|
Shindo.tests("Compute::VcloudDirector | vapps", ['vclouddirector', 'all']) do
|
||||||
pending if Fog.mocking?
|
pending if Fog.mocking?
|
||||||
tests("#There is more than one vapp").returns(true){ vdc.vapps.size >= 1 }
|
|
||||||
|
# unless there is atleast one vapp we cannot run these tests
|
||||||
|
pending if vdc.vapps.empty?
|
||||||
|
|
||||||
vapps = vdc.vapps
|
vapps = vdc.vapps
|
||||||
vapp = vapps.first
|
vapp = vapps.first
|
||||||
|
|
Loading…
Add table
Reference in a new issue