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
This commit is contained in:
Imran Iqbal 2019-05-31 02:15:57 +01:00
parent a054cea962
commit 81165fc405
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819

View file

@ -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