Fix unit test failure in Ruby 3
This fixes the following error raised in unit tests when the tests run on Ruby 3 (in CentOS Stream 9). NameError: uninitialized constant TRUE Change-Id: Ib62b8e921b350971732f85307c5bdcb1e8fe12f5
This commit is contained in:
@@ -211,7 +211,7 @@ describe 'cloudkitty' do
|
||||
is_expected.to contain_file('metrics.yml')
|
||||
.with_ensure('present')
|
||||
.with_path('/etc/cloudkitty/metrics.yml')
|
||||
.with_selinux_ignore_defaults(TRUE)
|
||||
.with_selinux_ignore_defaults(true)
|
||||
.with_mode('0640')
|
||||
.with_owner('root')
|
||||
.with_group('cloudkitty')
|
||||
|
Reference in New Issue
Block a user