Skip to content

Commit

Permalink
test(services_spec): remove temporary suse conditional
Browse files Browse the repository at this point in the history
* `train` gem has been fixed upstream
  - inspec/train#451
  - https://rubygems.org/gems/train/versions/2.1.7
  • Loading branch information
myii committed May 25, 2019
1 parent 05c9db5 commit 00d4a77
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/integration/default/controls/services_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
service_name = 'crond'
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)]"
else
control 'Template service' do
impact 0.5
title 'should be running and enabled'
Expand All @@ -17,4 +13,3 @@
it { should be_running }
end
end
end

0 comments on commit 00d4a77

Please sign in to comment.