Add group mock data

This commit is contained in:
Edward Muller 2012-02-06 17:51:35 -08:00
parent 70337bbc5b
commit db6b50cd60
1 changed files with 7 additions and 0 deletions

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