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')