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

test for pressence of scp/ssh on server

This commit is contained in:
geemus 2011-02-24 16:55:18 -08:00
parent 9c0823bfa5
commit 478d7ac54b

View file

@ -19,6 +19,16 @@ for provider, config in compute_providers
@instance.responds_to(:public_ip_address)
end
tests('responds_to(:scp)') do
pending if Fog.mocking? && !config[:mocked]
@instance.responds_to(:ssh)
end
tests('responds_to(:ssh)') do
pending if Fog.mocking? && !config[:mocked]
@instance.responds_to(:ssh)
end
end
end