Merge pull request #573 from mhaskel/fix_187_unittests
Trailing commas were breaking things on 1.8.7
This commit is contained in:
commit
b338635919
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue