terraform: test post state update is called

This commit is contained in:
Mitchell Hashimoto 2015-02-23 22:10:31 -08:00
parent 95cf69aa32
commit ac167c3082

View File

@ -4454,6 +4454,9 @@ func TestContext2Apply_hook(t *testing.T) {
if !h.PostApplyCalled {
t.Fatal("should be called")
}
if !h.PostStateUpdateCalled {
t.Fatalf("should call post state update")
}
}
func TestContext2Apply_idAttr(t *testing.T) {