Sha256: 92dd3dfc166b34a24982e351d64cbe049d457a64907f35dcfb95007604301688
Contents?: true
Size: 687 Bytes
Versions: 4
Compression:
Stored size: 687 Bytes
Contents
Shindo.tests('Fog::Compute[:opennebula] | groups collection', ['opennebula']) do begin groups = Fog::Compute[:opennebula].groups rescue Fog::Errors::LoadError pending end tests('The groups collection') do test('should be a kind of Fog::Compute::OpenNebula::Groups') { groups.kind_of? Fog::Compute::OpenNebula::Groups } tests('should be able to reload itself').succeeds { groups.reload } tests('should be able to get a model by id') do tests('by instance id').succeeds { groups.get groups.first.id } end tests('should be able to get a model by name') do tests('by instance id').succeeds { groups.get_by_name "fogtest" } end end end
Version data entries
4 entries across 4 versions & 2 rubygems