helper/schema: failing test

This commit is contained in:
Mitchell Hashimoto 2015-02-17 13:15:30 -08:00
parent 72a35cb44a
commit ad6be99f5b
1 changed files with 23 additions and 0 deletions

View File

@ -2009,6 +2009,29 @@ func TestSchemaMap_Diff(t *testing.T) {
Err: false, Err: false,
}, },
// #50
{
Schema: map[string]*Schema{
"active": &Schema{
Type: TypeBool,
Computed: true,
ForceNew: true,
},
},
State: &terraform.InstanceState{
Attributes: map[string]string{
"active": "true",
},
},
Config: map[string]interface{}{},
Diff: nil,
Err: false,
},
} }
for i, tc := range cases { for i, tc := range cases {