Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 0c232d9

Browse files
author
Jarret Lavallee
committed
(maint) Fix centos spec tests
Prior to this commit, the centos spec tests were not matching into with the os name fact and being skipped. This commit fixes those spec tests by adding Centos to the when case.
1 parent d4d58fe commit 0c232d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/classes/repos_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class {'puppet_metrics_dashboard':
2525
# rubocop:disable RSpec/RepeatedDescription
2626
# rubocop:disable RSpec/RepeatedExample
2727
case facts[:os]['name']
28-
when 'RedHat'
28+
when 'RedHat', 'CentOS'
2929
it 'should contain the yum repo for InfluxDB' do
3030
is_expected.to contain_yumrepo('influxdb')
3131
.with(

0 commit comments

Comments
 (0)