diff --git a/builtin/providers/chef/resource_role_test.go b/builtin/providers/chef/resource_role_test.go index 3859e4e85..e9eaaa7cd 100644 --- a/builtin/providers/chef/resource_role_test.go +++ b/builtin/providers/chef/resource_role_test.go @@ -32,11 +32,12 @@ func TestAccRole_basic(t *testing.T) { return fmt.Errorf("wrong description; expected %v, got %v", expected, role.Description) } - expectedRunList := chefc.RunList{ + expectedRunListStrings := []string{ "recipe[terraform@1.0.0]", "recipe[consul]", "role[foo]", } + expectedRunList := chefc.RunList(expectedRunListStrings) if !reflect.DeepEqual(role.RunList, expectedRunList) { return fmt.Errorf("wrong runlist; expected %#v, got %#v", expectedRunList, role.RunList) }