Permalink
Browse files

test for pressence of scp/ssh on server

  • Loading branch information...
1 parent 9c0823b commit 478d7ac54baa7133c189132cd0e3a74a57cc17fe @geemus geemus committed Feb 25, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 tests/compute/models/server_tests.rb
@@ -19,6 +19,16 @@
@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

0 comments on commit 478d7ac

Please sign in to comment.