From 290a54364dc2c4ce6097b0a6a657a767fefde527 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 5 Jul 2024 17:44:31 +0200 Subject: [PATCH] Fix tests: Mark CentOS 7 as not supported CentOS 7 is EoL. --- spec/operatingsystem_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/operatingsystem_spec.rb b/spec/operatingsystem_spec.rb index 70b3b80..fba0723 100644 --- a/spec/operatingsystem_spec.rb +++ b/spec/operatingsystem_spec.rb @@ -21,8 +21,8 @@ context 'with CentOS' do let(:os) { 'CentOS' } - it 'returns 7 and 9' do - expect(described_class.supported_releases(os)).to match_array(%w[7 9]) + it 'returns 9' do + expect(described_class.supported_releases(os)).to match_array(%w[9]) end it 'the last entry matches latest_release' do