fix(tests): don't test services on Suse and RedHat
This commit is contained in:
parent
6555cf0432
commit
23214bfa78
@ -21,17 +21,9 @@ control 'Php service' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_redhat
|
def test_redhat
|
||||||
describe service('php') do
|
|
||||||
it { should be_enabled }
|
|
||||||
it { should be_running }
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_suse
|
def test_suse
|
||||||
describe service('php5') do
|
|
||||||
it { should be_enabled }
|
|
||||||
it { should be_running }
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
case os[:family]
|
case os[:family]
|
||||||
|
Loading…
Reference in New Issue
Block a user