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

Merge pull request #1623 from bvox/openstack-identity-test-fixes

[openstack|identity] user model tests fixes
This commit is contained in:
Dan Prince 2013-03-04 19:09:48 -08:00
commit c3dac20b6d
2 changed files with 3 additions and 2 deletions

View file

@ -14,6 +14,7 @@ Shindo.tests("Fog::Identity[:openstack] | roles", ['openstack']) do
end end
end end
@role.destroy
@user.destroy @user.destroy
@tenant.destroy @tenant.destroy
end end

View file

@ -26,11 +26,11 @@ Shindo.tests("Fog::Identity[:openstack] | user", ['openstack']) do
end end
tests('#update_tenant').returns(true) do tests('#update_tenant').returns(true) do
@instance.update_tenant('swordfish') @instance.update_tenant(tenant_id)
end end
tests('#update_enabled').returns(true) do tests('#update_enabled').returns(true) do
@instance.update_enabled('swordfish') @instance.update_enabled(true)
end end
tests('#destroy').returns(true) do tests('#destroy').returns(true) do