test: add tests for v3000-py2

This commit is contained in:
Imran Iqbal committed 2020-05-01 10:27:38 +01:00
1 parent 965588b108
commit c228029879
3 files changed
+42

No files matched your search

@@ -0,0 +1,21 @@
# frozen_string_literal: true
version =
case platform[:family]
when 'debian'
'3000.2+ds-1'
end
control 'salt packages' do
title 'should be installed'
%w[
salt-master
salt-minion
].each do |p|
describe package(p) do
it { should be_installed }
its('version') { should eq version }
end
end
end