diff --git a/provider/joyent/config_internal_test.go b/provider/joyent/config_internal_test.go
index <HASH>..<HASH> 100644
--- a/provider/joyent/config_internal_test.go
+++ b/provider/joyent/config_internal_test.go
@@ -19,7 +19,7 @@ var _ = gc.Suite(&InternalSuite{})
 
 func (s *InternalSuite) TestEnsurePrivateKey(c *gc.C) {
 	m := map[string]interface{}{
-		"private-key-path": "foo",
+		"private-key": "foo",
 	}
 
 	e := &environConfig{attrs: copymap(m)}
change test so it's actually doing the right thing