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

[digitalocean|compute] mark Server.power_cycle test as pending when mocking

This commit is contained in:
Sergio Rubio 2013-03-18 13:01:05 +01:00
parent e8a3b1b475
commit e99e66cf13

View file

@ -41,6 +41,7 @@ Shindo.tests("Fog::Compute[:digitalocean] | server model", ['digitalocean', 'com
server.status == 'off'
end
test('#power_cycle') do
pending if Fog.mocking?
server.wait_for { server.ready? }
server.power_cycle
server.wait_for { server.status == 'off' }