From b5461a0ebab63fb77186ea5960e71bd1426609a1 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Wed, 1 Apr 2020 23:22:05 +0100 Subject: [PATCH] test(service_spec): add `should be_installed` --- test/integration/v201803-py2/controls/service_spec.rb | 1 + test/integration/v201902-py2/controls/service_spec.rb | 1 + test/integration/v201902-py3/controls/service_spec.rb | 1 + test/integration/v3000-py3/controls/service_spec.rb | 1 + 4 files changed, 4 insertions(+) diff --git a/test/integration/v201803-py2/controls/service_spec.rb b/test/integration/v201803-py2/controls/service_spec.rb index 27f8ae5..9d99883 100644 --- a/test/integration/v201803-py2/controls/service_spec.rb +++ b/test/integration/v201803-py2/controls/service_spec.rb @@ -8,6 +8,7 @@ control 'salt services' do salt-minion ].each do |p| describe service(p) do + it { should be_installed } it { should be_enabled } it { should be_running } end diff --git a/test/integration/v201902-py2/controls/service_spec.rb b/test/integration/v201902-py2/controls/service_spec.rb index 27f8ae5..9d99883 100644 --- a/test/integration/v201902-py2/controls/service_spec.rb +++ b/test/integration/v201902-py2/controls/service_spec.rb @@ -8,6 +8,7 @@ control 'salt services' do salt-minion ].each do |p| describe service(p) do + it { should be_installed } it { should be_enabled } it { should be_running } end diff --git a/test/integration/v201902-py3/controls/service_spec.rb b/test/integration/v201902-py3/controls/service_spec.rb index 27f8ae5..9d99883 100644 --- a/test/integration/v201902-py3/controls/service_spec.rb +++ b/test/integration/v201902-py3/controls/service_spec.rb @@ -8,6 +8,7 @@ control 'salt services' do salt-minion ].each do |p| describe service(p) do + it { should be_installed } it { should be_enabled } it { should be_running } end diff --git a/test/integration/v3000-py3/controls/service_spec.rb b/test/integration/v3000-py3/controls/service_spec.rb index 27f8ae5..9d99883 100644 --- a/test/integration/v3000-py3/controls/service_spec.rb +++ b/test/integration/v3000-py3/controls/service_spec.rb @@ -8,6 +8,7 @@ control 'salt services' do salt-minion ].each do |p| describe service(p) do + it { should be_installed } it { should be_enabled } it { should be_running } end