fog/fog — pull request #777 by restebanez (2012-03-05 21:41:33+00:00)
Title: Support for rds parameter groups mocking

Shindo tests now pass in mocking mode.

[fog] export FOG_MOCK=true ;bundle exec shindo tests/aws/requests/rds/parameter_group_tests.rb

AWS::RDS | parameter group requests (aws, rds)
success
#create_db_parameter_groups + returns "mysql5.1"
+ returns "fog-group"
+ returns "Some description"
+ has proper format
#describe_db_parameter_groups + returns 4
+ has proper format
#describe_db_parameter_groups('fog-group) + returns 1
+ returns "mysql5.1"
+ returns "fog-group"
+ returns "Some description"
+ has proper format
delete_db_parameter_group + raises Fog::AWS::RDS::NotFound
+ has proper format
failures
+ raises Fog::AWS::RDS::NotFound
+ raises Fog::AWS::RDS::NotFound
creating second group with same id
+ raises Fog::AWS::RDS::IdentifierTaken

16 succeeded in 0.564274 seconds