Sha256: 27444d6a2aad3c6ca38849c2827d8d9deffeb095f72a4d49cc5a2049dbccbf13
Contents?: true
Size: 803 Bytes
Versions: 14
Compression:
Stored size: 803 Bytes
Contents
Shindo.tests("Fog::Compute[:google] | zone requests", ["google"]) do @google = Fog::Compute[:google] @get_zone_format = { "kind" => String, "id" => String, "selfLink" => String, "creationTimestamp" => String, "name" => String, "description" => String, "status" => String, "region" => String, "maintenanceWindows" => Fog::Nullable::Array } @list_zones_format = { "kind" => String, "id" => String, "selfLink" => String, "items" => [@get_zone_format] } tests("success") do tests("#get_zone").formats(@get_zone_format) do zone_name = @google.list_zones.body["items"][0]["name"] @google.get_zone(zone_name).body end tests("#list_zones").formats(@list_zones_format) do @google.list_zones.body end end end
Version data entries
14 entries across 14 versions & 1 rubygems