Merge pull request #479 from igalic/better-backup-test
backup script test: Actually loop through a list
This commit is contained in:
commit
ec1cc59d03
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,10 @@ describe 'mysql::server::backup class', :unless => UNSUPPORTED_PLATFORMS.include
|
|||
it 'when configuring mysql backups' do
|
||||
pp = <<-EOS
|
||||
class { 'mysql::server': root_password => 'password' }
|
||||
mysql::db { 'backup1':
|
||||
mysql::db { [
|
||||
'backup1',
|
||||
'backup2'
|
||||
]:
|
||||
user => 'backup',
|
||||
password => 'secret',
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue