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

[openstack|identity] user model tests fixes

- update_tenant expects a tenant model or a tenant_id
- update_enabled expects a boolean
This commit is contained in:
Sergio Rubio 2013-03-04 16:47:40 +01:00
parent b3c851cd07
commit 2381ed38be

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