mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
26 lines
709 B
Ruby
26 lines
709 B
Ruby
for provider, config in compute_providers
|
|
|
|
Shindo.tests("#{provider}::Compute | server", [provider.to_s.downcase]) do
|
|
|
|
server_tests(provider[:compute], (config[:server_attributes] || {}), config[:mocked]) do
|
|
|
|
tests('responds_to(:bootstrap)') do
|
|
pending if Fog.mocking? && !config[:mocked]
|
|
@instance.responds_to(:bootstrap)
|
|
end
|
|
|
|
tests('responds_to(:private_ip_address)') do
|
|
pending if Fog.mocking? && !config[:mocked]
|
|
@instance.responds_to(:public_ip_address)
|
|
end
|
|
|
|
tests('responds_to(:public_ip_address)') do
|
|
pending if Fog.mocking? && !config[:mocked]
|
|
@instance.responds_to(:public_ip_address)
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|