mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[openstack|identity] Marks test as pending
Issue #1477 conceals a bug in the #formats helper that allowed this to pass such that the response of #delete_user_role does not match the declared schema. Response when mocked is an empty String which does not match the declared schema of a Hash.
This commit is contained in:
parent
51cdc19070
commit
8ed3a056c7
1 changed files with 6 additions and 0 deletions
|
@ -27,7 +27,13 @@ Shindo.tests('Fog::Identity[:openstack] | role requests', ['openstack']) do
|
|||
Fog::Identity[:openstack].list_roles_for_user_on_tenant(@tenant['id'], @user['id']).body['roles']
|
||||
end
|
||||
|
||||
tests("#delete_user_role with tenant").returns("") do
|
||||
Fog::Identity[:openstack].delete_user_role(@tenant['id'], @user['id'], @role['id']).body
|
||||
end
|
||||
|
||||
tests("#delete_user_role with tenant").formats(@role_format) do
|
||||
# FIXME - Response (under mocks) is empty String which does not match schema
|
||||
pending
|
||||
Fog::Identity[:openstack].delete_user_role(@tenant['id'], @user['id'], @role['id']).body
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue