2
0
salt-formula/test/integration/v3002-py3/controls/pkgs_spec.rb
2020-12-20 23:23:14 +00:00

18 lines
294 B
Ruby

# frozen_string_literal: true
control 'salt packages' do
title 'should be installed'
version = '3002'
%w[
salt-master
salt-minion
].each do |p|
describe package(p) do
it { should be_installed }
its('version') { should match(/^#{version}/) }
end
end
end