providers/heroku: handle case sensitivity

This commit is contained in:
Jack Pearkes 2014-07-23 12:11:58 -04:00
parent 64f2630c7e
commit 3a2db580d0
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ func TestAccHerokuApp_Basic(t *testing.T) {
resource.TestCheckResourceAttr(
"heroku_app.foobar", "name", "terraform-test-app"),
resource.TestCheckResourceAttr(
"heroku_app.foobar", "config_vars.0.foo", "bar"),
"heroku_app.foobar", "config_vars.0.FOO", "bar"),
),
},
},
@ -71,7 +71,7 @@ func testAccCheckHerokuAppAttributes(app *heroku.App) resource.TestCheckFunc {
return err
}
if vars["foo"] != "bar" {
if vars["FOO"] != "bar" {
return fmt.Errorf("Bad config vars: %v", vars)
}