Skip to content

Commit

Permalink
test for pressence of scp/ssh on server
Browse files Browse the repository at this point in the history
  • Loading branch information
geemus committed Feb 25, 2011
1 parent 9c0823b commit 478d7ac
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/compute/models/server_tests.rb
Expand Up @@ -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
Expand Down

0 comments on commit 478d7ac

Please sign in to comment.