2
0

test(service_spec): add should be_installed

This commit is contained in:
Imran Iqbal 2020-04-01 23:22:05 +01:00
parent 1e677cd761
commit b5461a0eba
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819
4 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@ control 'salt services' do
salt-minion salt-minion
].each do |p| ].each do |p|
describe service(p) do describe service(p) do
it { should be_installed }
it { should be_enabled } it { should be_enabled }
it { should be_running } it { should be_running }
end end

View File

@ -8,6 +8,7 @@ control 'salt services' do
salt-minion salt-minion
].each do |p| ].each do |p|
describe service(p) do describe service(p) do
it { should be_installed }
it { should be_enabled } it { should be_enabled }
it { should be_running } it { should be_running }
end end

View File

@ -8,6 +8,7 @@ control 'salt services' do
salt-minion salt-minion
].each do |p| ].each do |p|
describe service(p) do describe service(p) do
it { should be_installed }
it { should be_enabled } it { should be_enabled }
it { should be_running } it { should be_running }
end end

View File

@ -8,6 +8,7 @@ control 'salt services' do
salt-minion salt-minion
].each do |p| ].each do |p|
describe service(p) do describe service(p) do
it { should be_installed }
it { should be_enabled } it { should be_enabled }
it { should be_running } it { should be_running }
end end