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

21 lines
439 B
Ruby
Raw Normal View History

2011-01-03 16:34:08 -05:00
for provider, config in compute_providers
Shindo.tests("Fog::Compute[:#{provider}] | server", [provider.to_s]) do
2011-01-03 16:34:08 -05:00
server_tests(Fog::Compute[provider], (config[:server_attributes] || {}), config[:mocked]) do
2011-03-11 16:06:44 -05:00
if Fog.mocking? && !config[:mocked]
pending
else
responds_to(:boostrap)
responds_to(:public_ip_address)
responds_to(:scp)
responds_to(:ssh)
end
end
2011-01-03 16:34:08 -05:00
end
end