mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
10 lines
285 B
Ruby
10 lines
285 B
Ruby
Shindo.tests('Fog::Compute[:libvirt] | nics collection', ['libvirt']) do
|
|
|
|
nics = Fog::Compute[:libvirt].servers.first.nics
|
|
|
|
tests('The nics collection') do
|
|
test('should not be empty') { not nics.empty? }
|
|
test('should be a kind of Array') { nics.kind_of? Array }
|
|
end
|
|
|
|
end
|