Sha256: 5915df5e8125e9fbfe35c7dee7e50fe29df855d68f9ae7cee03a5807658a3473
Contents?: true
Size: 636 Bytes
Versions: 25
Compression:
Stored size: 636 Bytes
Contents
Shindo.tests('Fog::Compute[:google] | operation requests', ['google']) do @google = Fog::Compute[:google] tests('success') do # We are not testing the format here because operation formats are pretty # extensive based on what has happened to you account, ever. # https://developers.google.com/compute/docs/reference/latest/globalOperations#resource tests("#list_global_operations").succeeds do @google.list_global_operations end tests("#list_zone_operations").succeeds do zone_name = @google.list_zones.body["items"][0]["name"] @google.list_zone_operations(zone_name) end end end
Version data entries
25 entries across 25 versions & 3 rubygems