From de602869584c99bc3ac63adde7fb911cbd67c53a Mon Sep 17 00:00:00 2001 From: VirtualStaticVoid Date: Thu, 29 Nov 2012 20:14:57 +0200 Subject: [PATCH] added support for mock --- lib/fog/aws/iam.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fog/aws/iam.rb b/lib/fog/aws/iam.rb index e23c993bd..7bd88ef16 100644 --- a/lib/fog/aws/iam.rb +++ b/lib/fog/aws/iam.rb @@ -89,6 +89,7 @@ module Fog :users => Hash.new do |uhash, ukey| uhash[ukey] = { :user_id => Fog::AWS::Mock.key_id, + :path => '/', :arn => "arn:aws:iam::#{Fog::AWS::Mock.owner_id}:user/#{ukey}", :access_keys => [], :policies => {}