1
0
Fork 0
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:
Frederick Cheung 2012-09-02 13:16:47 +01:00
parent e519f9bd46
commit 2755321839

View file

@ -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