mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[Brightbox] Expands on some tests
Starts checking fields that should have been altered by a request have.
This commit is contained in:
parent
4e41e00fed
commit
0d93b3f0f9
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ Shindo.tests('Fog::Compute[:brightbox] | server requests', ['brightbox']) do
|
|||
pending if Fog.mocking?
|
||||
result = Fog::Compute[:brightbox].activate_console_server(server_id)
|
||||
data_matches_schema(Brightbox::Compute::Formats::Full::SERVER, {:allow_extra_keys => true}) { result }
|
||||
test("has set 'console_url'") { ! result["console_url"].empty? }
|
||||
test("has set 'console_token'") { ! result["console_token"].empty? }
|
||||
test("has set 'console_token_expires'") { ! result["console_token_expires"].empty? }
|
||||
end
|
||||
|
||||
tests("#stop_server('#{server_id}')") do
|
||||
|
|
Loading…
Reference in a new issue