Merge "Fix unit tests incompatible with puppetlab-stdlib 8.0.0"

This commit is contained in:
Zuul 2021-09-23 18:19:32 +00:00 committed by Gerrit Code Review
commit 398b6bdabf

View File

@ -25,7 +25,7 @@ describe 'horizon::dashboard' do
shared_examples 'horizon::dashboard' do
context 'with default' do
it { should contain_package(platform_params[:heat_dashboard_package_name]).with(
:ensure => 'present',
:ensure => 'installed',
:tag => ['horizon-dashboard-package']
)}
end
@ -51,7 +51,7 @@ describe 'horizon::dashboard' do
context 'with default' do
it { should contain_package('python3-heat-dashboard').with(
:ensure => 'present',
:ensure => 'installed',
:tag => ['horizon-dashboard-package']
)}
end
@ -60,7 +60,7 @@ describe 'horizon::dashboard' do
shared_examples 'horizon::dashboard on Ubuntu' do
context 'with default' do
it { should contain_package('python3-heat-dashboard').with(
:ensure => 'present',
:ensure => 'installed',
:tag => ['horizon-dashboard-package']
)}
end