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: Ibfda6f366e9082bb96fce993563afb7f327e1b74
This commit is contained in:
parent
8bd0354b7e
commit
8762eb9de8
@ -41,7 +41,7 @@ describe 'manila::ganesha' do
|
||||
shared_examples_for 'manila::ganesha on RedHat' do
|
||||
it { is_expected.to contain_package('nfs-ganesha').with(
|
||||
:name => 'nfs-ganesha',
|
||||
:ensure => 'present',
|
||||
:ensure => 'installed',
|
||||
) }
|
||||
end
|
||||
|
||||
|
@ -53,7 +53,7 @@ describe 'manila::backend::ganesha' do
|
||||
|
||||
it { is_expected.to contain_package('nfs-ganesha').with(
|
||||
:name => 'nfs-ganesha',
|
||||
:ensure => 'present',
|
||||
:ensure => 'installed'
|
||||
) }
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user