remove the plist integration test
This commit is contained in:
Родитель
9b923cfcbe
Коммит
b407117cf1
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче