Sha256: 0dd4c10709ed46017159fde3ffdbc66093fbea8addcee70a69eaaff27c558f72
Contents?: true
Size: 628 Bytes
Versions: 37
Compression:
Stored size: 628 Bytes
Contents
Shindo.tests('Fog::Compute[:opennebula] | groups collection', ['opennebula']) do groups = Fog::Compute[:opennebula].groups 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
37 entries across 35 versions & 5 rubygems