Shindo.tests('Fog::Compute[:cloudstack] | disk offering requests', ['cloudstack']) do @disk_offerings_format = { 'listdiskofferingsresponse' => { 'count' => Integer, 'diskoffering' => [ 'id' => Integer, 'created' => String, 'disksize' => Integer, 'displaytext' => String, 'domain' => Fog::Nullable::String, 'domainid' => Fog::Nullable::Integer, 'iscustomized' => Fog::Boolean, 'name' => String, 'tags' => Fog::Nullable::String ] } } tests('success') do tests('#list_disk_offerings').formats(@disk_offerings_format) do pending if Fog.mocking? Fog::Compute[:cloudstack].list_disk_offerings end end end