mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[Openstack] Fix mock returning a hash instead of an array
This commit is contained in:
parent
e519f9bd46
commit
2755321839
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ module Fog
|
|||
class Mock
|
||||
def list_roles_for_user_on_tenant(tenant_id, user_id)
|
||||
Excon::Response.new(
|
||||
:body => { 'roles' => self.data[:roles] },
|
||||
:body => { 'roles' => self.data[:roles].values },
|
||||
:status => 200
|
||||
)
|
||||
end # def list_roles_for_user_on_tenant
|
||||
|
|
Loading…
Add table
Reference in a new issue