remove the plist integration test

This commit is contained in:
Jared Weyer 2023-06-20 11:20:50 -07:00
Родитель 9b923cfcbe
Коммит b407117cf1
2 изменённых файлов: 0 добавлений и 22 удалений

Просмотреть файл

@ -58,7 +58,6 @@ suites:
controls:
- dock-appearance
- show-all-files
- plist-creation
- name: software-updates
provisioner:

Просмотреть файл

@ -17,24 +17,3 @@ control 'show-all-files' do
its('mode') { should cmp '0600' }
end
end
control 'plist-creation' do
title 'arbitrary plist creation'
desc 'creation and modification of a property list'
macos_cookbook_plist = '/Users/vagrant/com.microsoft.macoscookbook.plist'
describe command("/usr/libexec/PlistBuddy -c 'Print :PokeballEatenByDog' #{macos_cookbook_plist}") do
its('stdout') { should match 'true' }
end
describe command("/usr/libexec/PlistBuddy -c 'Print :CaughtEmAll' #{macos_cookbook_plist}") do
its('stdout') { should match 'false' }
end
describe file(macos_cookbook_plist) do
its('owner') { should eq 'vagrant' }
its('group') { should eq 'staff' }
its('mode') { should cmp '0600' }
end
end