From f70d15207a6e3cf41cfc4c6a18704bdfef0d8441 Mon Sep 17 00:00:00 2001 From: tphoney Date: Tue, 17 Sep 2019 11:03:27 +0100 Subject: [PATCH] fake paths always cause errors --- spec/acceptance/install_spec.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/spec/acceptance/install_spec.rb b/spec/acceptance/install_spec.rb index 0346980..2cd7add 100644 --- a/spec/acceptance/install_spec.rb +++ b/spec/acceptance/install_spec.rb @@ -71,10 +71,6 @@ context 'with failure cases' do end 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) - else - apply_manifest(bogus_alternative, catch_failures: true) - end + apply_manifest(bogus_alternative, expect_failures: true) end end