test(service_spec): add `should be_installed`
This commit is contained in:
parent
1e677cd761
commit
b5461a0eba
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue