Fix unit tests incompatible with puppetlab-stdlib 8.0.0

Since puppetlabs-stdlib 8.0.0, ensure_packages automatically translates
'ensure => present'  to 'ensure => installed' and that translation
breaks existing assertions in unit tests.

Change-Id: Id592ca8181caaaae448e2c965a5d61b46c1b9748
This commit is contained in:
Takashi Kajinami 2021-09-24 00:30:27 +09:00
parent b5d49ecb7d
commit 235779a4cc
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ describe 'gnocchi::storage::ceph' do
end
it { is_expected.to contain_package('python-rados').with(
:ensure => 'present',
:ensure => 'installed',
:name => 'python3-rados',
:tag => ['openstack', 'gnocchi-package'],
)}