1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Add group mock data

This commit is contained in:
Edward Muller 2012-02-06 17:51:35 -08:00
parent 70337bbc5b
commit db6b50cd60

View file

@ -69,6 +69,13 @@ module Fog
:access_keys => [],
:policies => {}
}
end,
:groups => Hash.new do |ghash, gkey|
ghash[gkey] = {
:group_id => Fog::AWS::Mock.key_id,
:arn => "arn:aws:iam::#{Fog::AWS::Mock.owner_id}:group/#{gkey}",
:members => []
}
end
}
end