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:
commit
c3dac20b6d
2 changed files with 3 additions and 2 deletions
|
@ -14,6 +14,7 @@ Shindo.tests("Fog::Identity[:openstack] | roles", ['openstack']) do
|
|||
end
|
||||
end
|
||||
|
||||
@role.destroy
|
||||
@user.destroy
|
||||
@tenant.destroy
|
||||
end
|
||||
|
|
|
@ -26,11 +26,11 @@ Shindo.tests("Fog::Identity[:openstack] | user", ['openstack']) do
|
|||
end
|
||||
|
||||
tests('#update_tenant').returns(true) do
|
||||
@instance.update_tenant('swordfish')
|
||||
@instance.update_tenant(tenant_id)
|
||||
end
|
||||
|
||||
tests('#update_enabled').returns(true) do
|
||||
@instance.update_enabled('swordfish')
|
||||
@instance.update_enabled(true)
|
||||
end
|
||||
|
||||
tests('#destroy').returns(true) do
|
||||
|
|
Loading…
Reference in a new issue