Merge pull request #479 from igalic/better-backup-test

backup script test: Actually loop through a list
This commit is contained in:
Ashley Penney 2014-03-06 14:48:04 -05:00
commit ec1cc59d03

View file

@ -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',
}