Merge pull request #573 from mhaskel/fix_187_unittests

Trailing commas were breaking things on 1.8.7
This commit is contained in:
Morgan Haskel 2014-09-19 10:09:26 -07:00
commit b338635919

View file

@ -164,7 +164,7 @@ describe 'mysql::server::backup' do
it 'should be add postscript' do it 'should be add postscript' do
is_expected.to contain_file('mysqlbackup.sh').with_content( is_expected.to contain_file('mysqlbackup.sh').with_content(
/rsync -a \/tmp backup01.local-lan:/, /rsync -a \/tmp backup01.local-lan:/
) )
end end
end end
@ -179,7 +179,7 @@ describe 'mysql::server::backup' do
it 'should be add postscript' do it 'should be add postscript' do
is_expected.to contain_file('mysqlbackup.sh').with_content( is_expected.to contain_file('mysqlbackup.sh').with_content(
/.*rsync -a \/tmp backup01.local-lan:\n\nrsync -a \/tmp backup02.local-lan:.*/, /.*rsync -a \/tmp backup01.local-lan:\n\nrsync -a \/tmp backup02.local-lan:.*/
) )
end end
end end