Sha256: 7657f9c83f163ee4b3db9c117af6bd8241749da7ed51ef60eae36908a256b6b2
Contents?: true
Size: 633 Bytes
Versions: 13
Compression:
Stored size: 633 Bytes
Contents
Shindo.tests("Fog::Google[:monitoring] | timeseries_collection requests", ["google"]) do @monitoring = Fog::Google[:monitoring] @get_timeseries_format = { "timeseriesDesc" => Hash, "points" => Array } @list_timeseries_format = { "kind" => String, "youngest" => String, "oldest" => String, "timeseries" => [@get_timeseries_format] } tests("success") do tests('#list_timeseries').formats(@list_timeseries_format) do @monitoring.list_timeseries("compute.googleapis.com/instance/uptime", Time.now.strftime("%Y-%m-%dT%H:%M:%S%:z")).body end end end
Version data entries
13 entries across 13 versions & 1 rubygems