diff --git a/spec/classes/mistral_db_spec.rb b/spec/classes/mistral_db_spec.rb index 80be250..39c251e 100644 --- a/spec/classes/mistral_db_spec.rb +++ b/spec/classes/mistral_db_spec.rb @@ -92,7 +92,7 @@ describe 'mistral::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'], @@ -107,7 +107,7 @@ describe 'mistral::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-pysqlite2').with( :ensure => 'present', :name => 'python-pysqlite2', :tag => ['openstack'], @@ -132,7 +132,6 @@ describe 'mistral::db' do { :database_connection => 'mysql+pymysql://mistral:mistral@localhost/mistral', } end - it { is_expected.not_to contain_package('db_backend_package') } end end