From 81165fc405c9f4f1ffa74b2abf6bd0f8fb7bcd54 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Fri, 31 May 2019 02:15:57 +0100 Subject: [PATCH] test(`services_spec`): remove temporary `suse` conditional * `train` gem has been fixed upstream - https://github.com/inspec/train/pull/451 - https://rubygems.org/gems/train/versions/2.1.7 --- test/integration/default/controls/services_spec.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/integration/default/controls/services_spec.rb b/test/integration/default/controls/services_spec.rb index d70329d..96e5f93 100644 --- a/test/integration/default/controls/services_spec.rb +++ b/test/integration/default/controls/services_spec.rb @@ -7,11 +7,6 @@ elsif os[:family] == 'debian' or os[:name] == 'suse' pg_port = 5433 end -# Temporary `if` due to `opensuse-leap-15` bug re: `service` -if os[:name] == 'suse' - puts "[Skip `service`-based tests due to `opensuse-leap-15` detection bug (see https://github.com/inspec/train/issues/377)]" - puts "[Skip `service`-based tests due to `opensuse-leap-15` bug]" -else control 'Postgres service' do impact 0.5 title 'should be running and enabled' @@ -25,4 +20,3 @@ control 'Postgres service' do it { should be_listening } end end -end