Sha256: 4176a0fa1ab89c1e14b6f43c368d6fd044432d86162fe05e8386d6c922b24ff6
Contents?: true
Size: 666 Bytes
Versions: 7
Compression:
Stored size: 666 Bytes
Contents
Shindo.tests('Fog::Compute::DigitalOcean | list_images request', ['digitalocean', 'compute']) do service = Fog::Compute.new(:provider => 'DigitalOcean') image_format = { 'id' => Integer, 'name' => String, 'type' => String, 'distribution' => String, 'slug' => Fog::Nullable::String, 'public' => Fog::Boolean, 'regions' => Array, 'min_disk_size' => Fog::Nullable::Integer, 'created_at' => String, } tests('success') do tests('#list_images') do service.list_images.body['images'].each do |image| tests('format').data_matches_schema(image_format) do image end end end end end
Version data entries
7 entries across 5 versions & 2 rubygems