1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/cloudstack/requests/ssh_key_pair_tests.rb

23 lines
No EOL
505 B
Ruby

Shindo.tests('Fog::Compute[:cloudstack] | ssh key pairs requests', ['cloudstack']) do
@ssh_keys_format = {
'listsshkeypairsresponse' => {
'count' => Integer,
'sshkeypair' => [
'fingerprint' => String,
'name' => String,
'privatekey' => Fog::Nullable::String
]
}
}
tests('success') do
tests('#list_ssh_key_pairs').formats(@ssh_keys_format) do
pending if Fog.mocking?
Fog::Compute[:cloudstack].list_ssh_key_pairs
end
end
end