Sha256: d72ae35915a360a488052883e6b251dccaca496ed648f4f95e1aa144ae9c7b29
Contents?: true
Size: 1.25 KB
Versions: 38
Compression:
Stored size: 1.25 KB
Contents
Shindo.tests('AWS::RDS | parameter requests', ['aws', 'rds']) do tests('success') do pending if Fog.mocking? Fog::AWS[:rds].create_db_parameter_group('fog-group', 'MySQL5.1', 'Some description') tests('#modify_db_parameter_group').formats(AWS::RDS::Formats::MODIFY_PARAMETER_GROUP) do body = Fog::AWS[:rds].modify_db_parameter_group('fog-group',[ {'ParameterName' => 'query_cache_size', 'ParameterValue' => '12345', 'ApplyMethod' => 'immediate'} ]).body body end tests('#describe_db_parameters').formats(AWS::RDS::Formats::DESCRIBE_DB_PARAMETERS) do Fog::AWS[:rds].describe_db_parameters('fog-group', :max_records => 20).body end tests("#describe_db_parameters :source => 'user'")do body = Fog::AWS[:rds].describe_db_parameters('fog-group', :source => 'user').body returns(1){ body['DescribeDBParametersResult']['Parameters'].length} param = body['DescribeDBParametersResult']['Parameters'].first returns('query_cache_size'){param['ParameterName']} returns('12345'){param['ParameterValue']} returns(true){param['IsModifiable']} returns('query_cache_size'){param['ParameterName']} end Fog::AWS[:rds].delete_db_parameter_group('fog-group') end end
Version data entries
38 entries across 38 versions & 5 rubygems