From aa63c6ec6b15e434563a181a503d2fae7438216f Mon Sep 17 00:00:00 2001 From: Corey Hemminger Date: Mon, 15 Jul 2024 15:26:25 -0500 Subject: [PATCH] Update default_spec.rb --- spec/unit/recipes/default_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/unit/recipes/default_spec.rb b/spec/unit/recipes/default_spec.rb index 842167fc..8bc3e018 100644 --- a/spec/unit/recipes/default_spec.rb +++ b/spec/unit/recipes/default_spec.rb @@ -249,8 +249,8 @@ end end - context 'on CentOS 8' do - let(:chef_run) { ChefSpec::SoloRunner.new(platform: 'centos', version: '8').converge('ntp::default') } + context 'on CentOS 6' do + let(:chef_run) { ChefSpec::SoloRunner.new(platform: 'centos', version: '6').converge('ntp::default') } it 'installs the ntp package' do expect(chef_run).to install_package('ntp')