commit 3ac3233078c55638c9d2ad19c6a2205d5a366de1 Author: ZhongShengping Date: Fri Oct 9 09:59:55 2020 +0800 Include deps class in unit test for mysql Change-Id: Id9c9ca1cfe5ee8ac212aec998dfc04531a603dbf diff --git a/spec/classes/octavia_db_mysql_spec.rb b/spec/classes/octavia_db_mysql_spec.rb index a8e8a21..eb46391 100644 --- a/spec/classes/octavia_db_mysql_spec.rb +++ b/spec/classes/octavia_db_mysql_spec.rb @@ -13,6 +13,8 @@ describe 'octavia::db::mysql' do end shared_examples 'octavia::db::mysql' do + it { is_expected.to contain_class('octavia::deps') } + context 'with only required params' do it { should contain_openstacklib__db__mysql('octavia').with( :user => 'octavia',