fake paths always cause errors

This commit is contained in:
tphoney
2019-09-17 11:03:27 +01:00
committed by Florin Dragos
parent 0b1f8df952
commit f70d15207a

View File

@@ -71,10 +71,6 @@ context 'with failure cases' do
end end
it 'fails on debian or RHEL when passed fake java_alternative and path' do it 'fails on debian or RHEL when passed fake java_alternative and path' do
if os[:family] == 'debian' || os[:family] == 'redhat' apply_manifest(bogus_alternative, expect_failures: true)
apply_manifest(bogus_alternative, expect_failures: true)
else
apply_manifest(bogus_alternative, catch_failures: true)
end
end end
end end