Fix unit test

The db_backend_package name has changed in puppet-oslo[0], so fix it.

[0]: https://review.openstack.org/#/c/467582/

Change-Id: I2a1e20ec6a52aaa1f194e4b29f710c4e786c4ed1
This commit is contained in:
rajat29 2017-05-25 10:39:19 +05:30
parent 498f4b5cf4
commit 2ebb1654bd
1 changed files with 2 additions and 4 deletions

View File

@ -85,7 +85,7 @@ describe 'tacker::db' do
end
it 'install the proper backend package' do
is_expected.to contain_package('db_backend_package').with(
is_expected.to contain_package('python-pymysql').with(
:ensure => 'present',
:name => 'python-pymysql',
:tag => 'openstack'
@ -100,9 +100,7 @@ describe 'tacker::db' do
{ :database_connection => 'mysql+pymysql://tacker:tacker@localhost/tacker', }
end
it 'install the proper backend package' do
is_expected.not_to contain_package('db_backend_package')
end
end
end