Sha256: 3bb1c18c35efefd4624a3f175847d88d46cd35256478104e753ced9d3b19d53c
Contents?: true
Size: 584 Bytes
Versions: 22
Compression:
Stored size: 584 Bytes
Contents
Shindo.tests('Fog::Google[:monitoring] | metric_descriptor requests', ['google']) do @monitoring = Fog::Google[:monitoring] @get_metric_descriptor_format = { 'name' => String, 'description' => String, 'labels' => Array, 'project' => String, 'typeDescriptor' => Hash, } @list_metric_descriptors_format = { 'kind' => String, 'metrics' => [@get_metric_descriptor_format], } tests('success') do tests('#list_metric_descriptors').formats(@list_metric_descriptors_format) do @monitoring.list_metric_descriptors.body end end end
Version data entries
22 entries across 20 versions & 5 rubygems