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

[brightbox] Added request test for activate_console command

This commit is contained in:
Paul Thornthwaite 2011-03-03 01:41:41 +08:00 committed by Wesley Beary
parent 5866a4fd0a
commit 8476235b98

View file

@ -31,6 +31,11 @@ Shindo.tests('Brightbox::Compute | server requests', ['brightbox']) do
Brightbox[:compute].update_server(server_id, :name => "New name from Fog test")
end
tests("#activate_console_server('#{server_id}')").formats(Brightbox::Compute::Formats::Full::SERVER) do
pending if Fog.mocking?
Brightbox[:compute].activate_console_server(server_id)
end
tests("#stop_server('#{server_id}')").formats(Brightbox::Compute::Formats::Full::SERVER) do
pending if Fog.mocking?
Brightbox[:compute].stop_server(server_id)