Sha256: b274fa873c7dfeec8f5d2d512eb78880b68f97f0acf9a59d7522e640af2d084e
Contents?: true
Size: 617 Bytes
Versions: 125
Compression:
Stored size: 617 Bytes
Contents
Shindo.tests('Fog::Compute[:ibm] | location requests', ['ibm']) do @location_format = { 'state' => Integer, 'location' => String, 'capabilities' => Array, 'name' => String, 'id' => String, 'description' => String } @locations_format = { 'locations' => [ @location_format ] } tests('success') do tests("#list_locations").formats(@locations_format) do Fog::Compute[:ibm].list_locations.body end tests('#get_locations').formats(@location_format) do Fog::Compute[:ibm].get_location('41').body end end end
Version data entries
125 entries across 123 versions & 18 rubygems