2011-01-03 13:34:08 -08:00
|
|
|
for provider, config in compute_providers
|
|
|
|
|
2011-06-16 16:28:54 -07:00
|
|
|
Shindo.tests("Fog::Compute[:#{provider}] | server", [provider]) do
|
2011-01-03 13:34:08 -08:00
|
|
|
|
2011-06-16 16:28:54 -07:00
|
|
|
server_tests(Fog::Compute[provider], (config[:server_attributes] || {}), config[:mocked]) do
|
2011-02-22 16:36:15 -08:00
|
|
|
|
2011-03-11 13:06:44 -08:00
|
|
|
if Fog.mocking? && !config[:mocked]
|
|
|
|
pending
|
|
|
|
else
|
|
|
|
responds_to(:boostrap)
|
|
|
|
responds_to(:public_ip_address)
|
|
|
|
responds_to(:scp)
|
|
|
|
responds_to(:ssh)
|
2011-02-24 16:55:18 -08:00
|
|
|
end
|
|
|
|
|
2011-02-22 16:36:15 -08:00
|
|
|
end
|
2011-01-03 13:34:08 -08:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|