# https://vincent.bernat.im/en/blog/2014-serverspec-test-infrastructure
describe 'package versions' do
it 'haproxy' do
pkg = be_installed(package('haproxy')).with_version('1.7.9-1xenial').description
expect(pkg).to eq('be installed with version "1.7.9-1xenial"')
end
end