Skip to content

Commit

Permalink
Update default_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Stromweld authored Jul 15, 2024
1 parent e24b5d9 commit aa63c6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/recipes/default_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit aa63c6e

Please sign in to comment.