diff options
author | Tim Smith <tsmith@chef.io> | 2021-10-16 20:23:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-16 20:23:23 -0700 |
commit | 1217fadb016ab3554548a575a5dbc5bee81fa336 (patch) | |
tree | 145a758506e386397155004dcd5ce54be33d1e50 /kitchen-tests | |
parent | 53a6534cf29f182f09cab63a813202c404c2cd97 (diff) | |
parent | f54b9937df95f50e4a26e70eb2292cb28aed5de6 (diff) | |
download | chef-1217fadb016ab3554548a575a5dbc5bee81fa336.tar.gz |
Merge pull request #11898 from chef/api-based-macos-userdefaults
rewrite macos_userdefaults using corefoundation gem
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/_macos_userdefaults.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/_macos_userdefaults.rb b/kitchen-tests/cookbooks/end_to_end/recipes/_macos_userdefaults.rb index 80cbfddfcc..d38e7e16a2 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/_macos_userdefaults.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/_macos_userdefaults.rb @@ -52,6 +52,14 @@ macos_userdefaults "Bogus key with dict value" do value "User": "/Library/Managed Installs/way_fake.log" end +# test that we can set an array with dict value +macos_userdefaults "Bogus key with array value with dict items" do + domain "/Library/Preferences/ManagedInstalls" + type "array" + key "ArrayWithDict" + value [ { "User": "/Library/Managed Installs/way_fake.log" } ] +end + # test that we can set a bool macos_userdefaults "Bogus key with boolean value" do domain "/Library/Preferences/ManagedInstalls" |