Sha256: 0642710342ba9f5d95bf3bb3ab1e561a4896e6e315ffe802b0ac8572165fb9ff
Contents?: true
Size: 575 Bytes
Versions: 14
Compression:
Stored size: 575 Bytes
Contents
Shindo.tests('Fog::Compute[:libvirt] | interfaces collection', ['libvirt']) do interfaces = Fog::Compute[:libvirt].interfaces tests('The interfaces collection') do test('should not be empty') { not interfaces.empty? } test('should be a kind of Fog::Libvirt::Compute::Interfaces') { interfaces.kind_of? Fog::Libvirt::Compute::Interfaces } tests('should be able to reload itself').succeeds { interfaces.reload } tests('should be able to get a model') do tests('by instance name').succeeds { interfaces.get interfaces.first.name } end end end
Version data entries
14 entries across 14 versions & 2 rubygems