Skip to content

Commit

Permalink
rename test, add additional empty check
Browse files Browse the repository at this point in the history
  • Loading branch information
catsby committed May 2, 2016
1 parent 5e843a3 commit 4efb067
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func TestAccAWSIAMServerCertificate_name_prefix(t *testing.T) {
})
}

func TestAccAWSIAMServerCertificate_recreate(t *testing.T) {
func TestAccAWSIAMServerCertificate_disappears(t *testing.T) {
var cert iam.ServerCertificate

testDestroyCert := func(*terraform.State) error {
Expand Down Expand Up @@ -82,6 +82,10 @@ func TestAccAWSIAMServerCertificate_recreate(t *testing.T) {
),
ExpectNonEmptyPlan: true,
},
// Follow up plan w/ empty config should be empty, since the Cert is gone
resource.TestStep{
Config: "",
},
},
})
}
Expand Down

0 comments on commit 4efb067

Please sign in to comment.