add package tests

This commit is contained in:
Christoph Hartmann 2015-10-22 19:55:42 +02:00
parent 20afebc1a6
commit f15d05fd22

View file

@ -0,0 +1,11 @@
# encoding: utf-8
if ['centos', 'fedora', 'opensuse', 'debian', 'ubuntu'].include?(os[:family])
describe package('curl') do
it { should be_installed }
end
describe package('nginx') do
it { should_not be_installed }
end
end