Sha256: 779fd2b74d6fd82b011e60bd0b33dbbda20683b22f7d8445f563025a11b4e247
Contents?: true
Size: 521 Bytes
Versions: 6
Compression:
Stored size: 521 Bytes
Contents
Shindo.tests('Fog::Compute::DigitalOcean | list_ssh_keys request', ['digitalocean', 'compute']) do service = Fog::Compute.new(:provider => 'DigitalOcean') ssh_key_format = { 'id' => Integer, 'fingerprint' => String, 'public_key' => String, 'name' => String, } tests('success') do tests('#list_ssh_keys') do service.list_ssh_keys.body['ssh_keys'].each do |ssh_key| tests('format').data_matches_schema(ssh_key_format) do ssh_key end end end end end
Version data entries
6 entries across 4 versions & 2 rubygems