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

[openstack|identity] Update for failing mock test

This commit is contained in:
Alvin Garcia 2012-09-17 10:20:39 +08:00 committed by Nelvin Driz
parent 8f12717d25
commit a8f2aaf004

View file

@ -20,10 +20,11 @@ Shindo.tests('Fog::Identity[:openstack] | tenant requests', ['openstack']) do
tests('#list_roles_for_user_on_tenant(0,1)').
formats({'roles' => [@role_format]}) do
user = Fog::Identity[:openstack].create_user("testuser", "passw", "e@mail.co", "us3r1d").body['user']
openstack = Fog::Identity[:openstack]
openstack.list_roles_for_user_on_tenant(
openstack.current_tenant['id'], openstack.current_user['id']).body
openstack.current_tenant['id'], user['id']).body
end
tests('#create_tenant').formats({'tenant' => @tenant_format}) do