Skip to content

Commit

Permalink
Added missing test assertion for pulling out the DBParameterGroupName…
Browse files Browse the repository at this point in the history
… during a db instance describe
  • Loading branch information
Rob Costanzo committed Oct 24, 2014
1 parent 9163423 commit f98cbc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions rds/rds_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ func (s *S) Test_DescribeDBInstances(c *C) {
c.Assert(resp.RequestId, Equals, "01b2685a-b978-11d3-f272-7cd6cce12cc5")
c.Assert(resp.DBInstances[0].DBName, Equals, "mysampledb")
c.Assert(resp.DBInstances[0].DBSecurityGroupNames, DeepEquals, []string{"my-db-secgroup"})
c.Assert(resp.DBInstances[0].DBParameterGroupName, Equals, "my-db-paramgroup")
c.Assert(resp.DBInstances[1].VpcSecurityGroupIds, DeepEquals, []string{"my-vpc-secgroup"})
}

Expand Down
2 changes: 1 addition & 1 deletion rds/responses_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var DescribeDBInstancesExample = `
<DBParameterGroups>
<DBParameterGroup>
<ParameterApplyStatus>in-sync</ParameterApplyStatus>
<DBParameterGroupName>default.mysql5.6</DBParameterGroupName>
<DBParameterGroupName>my-db-paramgroup</DBParameterGroupName>
</DBParameterGroup>
</DBParameterGroups>
<Endpoint>
Expand Down

0 comments on commit f98cbc5

Please sign in to comment.