MODULES-1520 add test to assert it does not break

This commit is contained in:
Travis Fields 2014-12-31 15:06:33 -08:00
parent 4203867c01
commit d9d02718b8

View file

@ -52,4 +52,14 @@ describe 'mysql_user' do
end
end
end
context 'using resource should throw no errors' do
describe 'find users' do
it {
on default, puppet('resource mysql_user'), {:catch_failures => true} do |r|
expect(r.stdout).to_not match(/Error:/)
expect(r.stdout).to_not match(/must be properly quoted, invalid character:/)
end
}
end
end
end