2
0
salt-formula/test/integration/v201902-py2/controls/pkgs_spec.rb

18 lines
298 B
Ruby
Raw Normal View History

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