2013-09-26 06:29:51 -04:00
|
|
|
Shindo.tests('Compute::VcloudDirector | session requests', ['vclouddirector']) do
|
|
|
|
|
|
|
|
@service = Fog::Compute::VcloudDirector.new
|
|
|
|
|
2013-09-27 11:32:49 -04:00
|
|
|
tests('#post_login_sessions').data_matches_schema(VcloudDirector::Compute::Schema::SESSION_TYPE) do
|
2013-09-26 06:29:51 -04:00
|
|
|
pending
|
|
|
|
@service.login.body # calls post_login_sessions
|
|
|
|
end
|
|
|
|
|
2013-09-27 11:32:49 -04:00
|
|
|
tests('#get_current_session').data_matches_schema(VcloudDirector::Compute::Schema::SESSION_TYPE) do
|
2013-09-26 06:29:51 -04:00
|
|
|
@service.get_current_session.body
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|